OSDN Git Service

Merge branch 'packet_edit' into autotools-fix(releng)
[ultramonkey-l7/sslproxy.git] / include / http_request_enum.h
diff --git a/include/http_request_enum.h b/include/http_request_enum.h
new file mode 100644 (file)
index 0000000..cf21716
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * @file  http_request_enum.h
+ * @brief HTTP Request Message Enum Header
+ *
+ * Copyright (C) 2009  NTT COMWARE Corporation.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ *
+ **********************************************************************/
+
+#ifndef __HTTP_REQUEST_ENUM_H__
+#define __HTTP_REQUEST_ENUM_H__
+
+enum HTTP_REQUEST_POSITION
+{
+    REQUEST_TOP = 0,
+    REQUEST_METHOD,
+    REQUEST_METHOD_SP,
+    REQUEST_REQUEST_URI,
+    REQUEST_REQUEST_URI_SP,
+    REQUEST_HTTP_VERSION_H,
+    REQUEST_HTTP_VERSION_T1,
+    REQUEST_HTTP_VERSION_T2,
+    REQUEST_HTTP_VERSION_P,
+    REQUEST_HTTP_VERSION_SLASH,
+    REQUEST_HTTP_VERSION_MAJOR,
+    REQUEST_HTTP_VERSION_DOT,
+    REQUEST_HTTP_VERSION_MINOR,
+    REQUEST_CR,
+    REQUEST_LF,
+};
+
+#endif //__HTTP_REQUEST_ENUM_H__