summaryrefslogtreecommitdiffstats
path: root/tinyHTTP/ragel.sh
diff options
context:
space:
mode:
authorbossiel <bossiel@yahoo.fr>2011-08-10 22:59:15 +0000
committerbossiel <bossiel@yahoo.fr>2011-08-10 22:59:15 +0000
commit1ebf5a5fcda0c9154e22ed02404fd46525a7fd9f (patch)
tree4b6214a7142ab1035cb0e47444e88af38e712421 /tinyHTTP/ragel.sh
downloaddoubango-1.0.zip
doubango-1.0.tar.gz
Move deprecated v1.0 from trunk to branches1.0
Diffstat (limited to 'tinyHTTP/ragel.sh')
-rw-r--r--tinyHTTP/ragel.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/tinyHTTP/ragel.sh b/tinyHTTP/ragel.sh
new file mode 100644
index 0000000..e733793
--- /dev/null
+++ b/tinyHTTP/ragel.sh
@@ -0,0 +1,38 @@
+# Ragel generator
+# For more information about Ragel: http://www.complang.org/ragel/
+
+#export OPTIONS="-C -L -G2"
+export OPTIONS="-C -L -T0"
+
+# HTTP/HTTPS URL parser
+ragel.exe $OPTIONS -o ./src/parsers/thttp_parser_url.c ./ragel/thttp_parser_url.rl
+
+# HTTP message (both requests an responses) parser.
+ragel.exe $OPTIONS -o ./src/parsers/thttp_parser_message.c ./ragel/thttp_parser_message.rl
+
+# HTTP headers parser
+ragel.exe $OPTIONS -o ./src/parsers/thttp_parser_header.c ./ragel/thttp_parser_header.rl
+
+
+
+
+# ==Authorization
+ragel.exe $OPTIONS -o ./src/headers/thttp_header_Authorization.c ./ragel/thttp_parser_header_Authorization.rl
+
+# ==Content-Length
+ragel.exe $OPTIONS -o ./src/headers/thttp_header_Content_Length.c ./ragel/thttp_parser_header_Content_Length.rl
+
+# ==Content-Type
+ragel.exe $OPTIONS -o ./src/headers/thttp_header_Content_Type.c ./ragel/thttp_parser_header_Content_Type.rl
+
+# ==Dummy
+ragel.exe $OPTIONS -o ./src/headers/thttp_header_Dummy.c ./ragel/thttp_parser_header_Dummy.rl
+
+# ==ETag
+ragel.exe $OPTIONS -o ./src/headers/thttp_header_ETag.c ./ragel/thttp_parser_header_ETag.rl
+
+# == Transfer-Encoding
+ragel.exe $OPTIONS -o ./src/headers/thttp_header_Transfer_Encoding.c ./ragel/thttp_parser_header_Transfer_Encoding.rl
+
+# ==WWW-Authenticate
+ragel.exe $OPTIONS -o ./src/headers/thttp_header_WWW_Authenticate.c ./ragel/thttp_parser_header_WWW_Authenticate.rl \ No newline at end of file
OpenPOWER on IntegriCloud