about summary refs log tree commit homepage
path: root/ext/http11/http11_parser.h
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-02-03 05:42:08 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-02-03 05:42:08 +0000
commit788e4f4902992a9de25f995729b7de713003bcc2 (patch)
tree66705625a27d5dcef9e1e24e01638252988ace1c /ext/http11/http11_parser.h
parent1b9b3bcb734778037d7bc872e1c4d2290a7415e8 (diff)
downloadunicorn-788e4f4902992a9de25f995729b7de713003bcc2.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@20 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext/http11/http11_parser.h')
-rw-r--r--ext/http11/http11_parser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/http11/http11_parser.h b/ext/http11/http11_parser.h
index f4a205f..6ca9cef 100644
--- a/ext/http11/http11_parser.h
+++ b/ext/http11/http11_parser.h
@@ -3,6 +3,10 @@
 
 #include <sys/types.h>
 
+#if defined(_WIN32)
+#include <stddef.h>
+#endif
+
 typedef void (*element_cb)(void *data, const char *at, size_t length);
 typedef void (*field_cb)(void *data, const char *field, size_t flen, const char *value, size_t vlen);
 
@@ -19,7 +23,7 @@ typedef struct http_parser {
 
   field_cb http_field;
   element_cb request_method;
-  element_cb path_info;
+  element_cb request_uri;
   element_cb query_string;
   element_cb http_version;