summaryrefslogtreecommitdiffstats
path: root/tinyMSRP/ragel.sh
blob: 1f2b0f3a00d58ad81d35c4a5663b3ad94ec2e319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Ragel generator
# For more information about Ragel: http://www.complang.org/ragel/

export OPTIONS="-C -L -T0"
#export OPTIONS="-C -L -G2"

# msrp Message parser
ragel.exe $OPTIONS -o ./src/parsers/tmsrp_parser_message.c ./ragel/tmsrp_parser_message.rl
# msrp URI
ragel.exe $OPTIONS -o ./src/parsers/tmsrp_parser_uri.c ./ragel/tmsrp_parser_uri.rl


# ==Authentication-Info.h
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Authentication-Info.c ./ragel/tmsrp_parser_header_Authentication-Info.rl

# ==Authorization
# Ignored

# ==Byte-Range
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Byte-Range.c ./ragel/tmsrp_parser_header_Byte-Range.rl

# ==Content-Type
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Content-Type.c ./ragel/tmsrp_parser_header_Content-Type.rl

# ==Dummy
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Dummy.c ./ragel/tmsrp_parser_header_Dummy.rl

# ==Expires
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Expires.c ./ragel/tmsrp_parser_header_Expires.rl

# ==Failure-Report
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Failure-Report.c ./ragel/tmsrp_parser_header_Failure-Report.rl

# ==From-Path
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_From-Path.c ./ragel/tmsrp_parser_header_From-Path.rl

# ==Max-Expires
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Max-Expires.c ./ragel/tmsrp_parser_header_Max-Expires.rl

# ==Message-ID
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Message-ID.c ./ragel/tmsrp_parser_header_Message-ID.rl

# ==Min-Expires
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Min-Expires.c ./ragel/tmsrp_parser_header_Min-Expires.rl

# ==Status
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Status.c ./ragel/tmsrp_parser_header_Status.rl

# ==Success-Report
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Success-Report.c ./ragel/tmsrp_parser_header_Success-Report.rl

# ==To-Path
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_To-Path.c ./ragel/tmsrp_parser_header_To-Path.rl

# ==Use-Path
ragel.exe $OPTIONS -o ./src/headers/tmsrp_header_Use-Path.c ./ragel/tmsrp_parser_header_Use-Path.rl

# ==WWW-Authenticate
# Ignored

OpenPOWER on IntegriCloud