OSDN Git Service

Merge branch 'packet_edit' into autotools-fix(releng)
[ultramonkey-l7/sslproxy.git] / include / http_message_enum.h
diff --git a/include/http_message_enum.h b/include/http_message_enum.h
new file mode 100644 (file)
index 0000000..c5ef324
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * @file  http_message_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_MESSAGE_ENUM_H__
+#define __HTTP_MESSAGE_ENUM_H__
+
+enum HTTP_MESSAGE_POSITION
+{
+    MESSAGE_TOP = 0,
+    MESSAGE_FIELD_NAME,
+    MESSAGE_FIELD_NAME_COLON,
+    MESSAGE_FIELD_VALUE,
+    MESSAGE_CR,
+    MESSAGE_LF,
+    MESSAGE_LAST_CR,
+    MESSAGE_LAST_LF,
+    MESSAGE_BODY,
+};
+
+#endif //__HTTP_MESSAGE_ENUM_H__