2009-12-05 05:44:09 +00:00
|
|
|
# Ragel generator
|
2009-12-21 16:01:52 +00:00
|
|
|
# For more information about Ragel: http://www.complang.org/ragel/
|
2009-12-05 05:44:09 +00:00
|
|
|
|
2010-02-15 01:25:07 +00:00
|
|
|
export OPTIONS="-C -L -T0"
|
|
|
|
#export OPTIONS="-C -L -G2"
|
2009-12-08 02:54:21 +00:00
|
|
|
|
|
|
|
# SIP/SIPS/TEL URI parser
|
2010-02-08 02:14:10 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/parsers/tsip_parser_uri.c tsip_parser_uri.rl
|
2009-12-08 02:54:21 +00:00
|
|
|
|
2009-12-05 05:44:09 +00:00
|
|
|
# SIP message (both requests an responses) parser.
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/parsers/tsip_parser_message.c tsip_parser_message.rl
|
2009-12-05 05:44:09 +00:00
|
|
|
|
|
|
|
# SIP headers parser
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/parsers/tsip_parser_header.c tsip_parser_header.rl
|
2009-12-08 02:54:21 +00:00
|
|
|
|
|
|
|
|
2009-12-09 00:47:34 +00:00
|
|
|
# ==Allow
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Allow.c tsip_parser_header_Allow.rl
|
2009-12-10 01:52:44 +00:00
|
|
|
|
|
|
|
# ==Allow-Events
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Allow_Events.c tsip_parser_header_Allow_Events.rl
|
2009-12-31 09:07:18 +00:00
|
|
|
|
|
|
|
# ==Authorization
|
2010-02-15 01:25:07 +00:00
|
|
|
######ragel.exe $OPTIONS -o ../src/headers/tsip_header_Authorization.c tsip_parser_header_Authorization.rl
|
2009-12-08 02:54:21 +00:00
|
|
|
|
2009-12-09 00:47:34 +00:00
|
|
|
# ==Call-ID
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Call_ID.c tsip_parser_header_Call_ID.rl
|
2009-12-22 20:46:06 +00:00
|
|
|
|
2009-12-10 01:52:44 +00:00
|
|
|
# ==Content-Length
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Content_Length.c tsip_parser_header_Content_Length.rl
|
2010-01-07 09:12:56 +00:00
|
|
|
|
|
|
|
# ==Content-Type
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Content_Type.c tsip_parser_header_Content_Type.rl
|
2009-12-10 01:52:44 +00:00
|
|
|
|
|
|
|
# ==Contact
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Contact.c tsip_parser_header_Contact.rl
|
2009-12-09 00:47:34 +00:00
|
|
|
|
|
|
|
# ==CSeq
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_CSeq.c tsip_parser_header_CSeq.rl
|
2009-12-10 01:52:44 +00:00
|
|
|
|
2010-02-15 19:32:09 +00:00
|
|
|
# ==Event
|
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Event.c tsip_parser_header_Event.rl
|
|
|
|
|
2009-12-10 01:52:44 +00:00
|
|
|
# ==Expires
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Expires.c tsip_parser_header_Expires.rl
|
2009-12-08 02:54:21 +00:00
|
|
|
|
|
|
|
# ==From
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_From.c tsip_parser_header_From.rl
|
2009-12-05 05:44:09 +00:00
|
|
|
|
2009-12-25 10:30:53 +00:00
|
|
|
# ==Max-Forwards
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Max_Forwards.c tsip_parser_header_Max_Forwards.rl
|
2009-12-10 01:52:44 +00:00
|
|
|
|
2009-12-25 10:30:53 +00:00
|
|
|
# ==Min-Expires
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Min_Expires.c tsip_parser_header_Min_Expires.rl
|
2009-12-25 10:30:53 +00:00
|
|
|
|
2010-02-12 18:28:33 +00:00
|
|
|
# ==Path
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Path.c tsip_parser_header_Path.rl
|
2010-02-12 18:28:33 +00:00
|
|
|
|
2009-12-10 01:52:44 +00:00
|
|
|
# ==P-Access-Network-Info
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Access_Network_Info.c tsip_parser_header_P_Access_Network_Info.rl
|
2009-12-10 01:52:44 +00:00
|
|
|
|
2010-02-15 19:32:09 +00:00
|
|
|
# ==P-Asserted-Identity
|
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Asserted_Identity.c tsip_parser_header_P_Asserted_Identity.rl
|
|
|
|
|
|
|
|
# ==P-Associated-URI
|
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Associated_URI.c tsip_parser_header_P_Associated_URI.rl
|
|
|
|
|
|
|
|
# ==P-Charging-Function-Addresses
|
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Charging_Function_Addresses.c tsip_parser_header_P_Charging_Function_Addresses.rl
|
|
|
|
|
2009-12-10 01:52:44 +00:00
|
|
|
# ==P-Preferred-Identity
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Preferred_Identity.c tsip_parser_header_P_Preferred_Identity.rl
|
2009-12-10 01:52:44 +00:00
|
|
|
|
|
|
|
# ==Privacy
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Privacy.c tsip_parser_header_Privacy.rl
|
2009-12-31 09:07:18 +00:00
|
|
|
|
|
|
|
# ==Proxy-Authenticate
|
2010-02-15 01:25:07 +00:00
|
|
|
########ragel.exe $OPTIONS -o ../src/headers/tsip_header_Proxy_Authenticate.c tsip_parser_header_Proxy_Authenticate.rl
|
2009-12-31 09:07:18 +00:00
|
|
|
|
|
|
|
# ==Proxy-Authorization
|
2010-02-15 01:25:07 +00:00
|
|
|
#########ragel.exe $OPTIONS -o ../src/headers/tsip_header_Proxy_Authorization.c tsip_parser_header_Proxy_Authorization.rl
|
2009-12-09 00:47:34 +00:00
|
|
|
|
2010-01-10 01:41:46 +00:00
|
|
|
# ==Record-Route
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Record_Route.c tsip_parser_header_Record_Route.rl
|
2010-01-10 01:41:46 +00:00
|
|
|
|
2009-12-09 00:47:34 +00:00
|
|
|
# ==Require
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Require.c tsip_parser_header_Require.rl
|
2009-12-09 00:47:34 +00:00
|
|
|
|
2010-02-15 19:32:09 +00:00
|
|
|
# == Server
|
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Server.c tsip_parser_header_Server.rl
|
|
|
|
|
|
|
|
# == Route
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Route.c tsip_parser_header_Route.rl
|
2010-02-12 18:28:33 +00:00
|
|
|
|
|
|
|
# == Service-Route
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Service_Route.c tsip_parser_header_Service_Route.rl
|
2010-02-12 18:28:33 +00:00
|
|
|
|
2010-02-16 18:52:56 +00:00
|
|
|
# ==Subscription-State
|
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Subscription_State.c tsip_parser_header_Subscription_State.rl
|
|
|
|
|
2009-12-09 00:47:34 +00:00
|
|
|
# ==Supported
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Supported.c tsip_parser_header_Supported.rl
|
2009-12-09 00:47:34 +00:00
|
|
|
|
|
|
|
# ==To
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_To.c tsip_parser_header_To.rl
|
2009-12-10 01:52:44 +00:00
|
|
|
|
|
|
|
# ==User-Agent
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_User_Agent.c tsip_parser_header_User_Agent.rl
|
2009-12-09 00:47:34 +00:00
|
|
|
|
2009-12-05 05:44:09 +00:00
|
|
|
# ==Via
|
2010-02-15 01:25:07 +00:00
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Via.c tsip_parser_header_Via.rl
|
2009-12-31 09:07:18 +00:00
|
|
|
|
2010-02-15 19:32:09 +00:00
|
|
|
# ==Warning
|
|
|
|
ragel.exe $OPTIONS -o ../src/headers/tsip_header_Warning.c tsip_parser_header_Warning.rl
|
|
|
|
|
2009-12-31 09:07:18 +00:00
|
|
|
# ==WWW-Authenticate
|
2010-02-15 01:25:07 +00:00
|
|
|
#########ragel.exe $OPTIONS -o ../src/headers/tsip_header_WWW_Authenticate.c tsip_parser_header_WWW_Authenticate.rl
|