- don't convert original $_SERVER entry to string
[m6w6/ext-http] / php_http.h
index 5de996a677c051bc5fe6e323558fc11e7b0f7ef9..104f9f7788b8bafce891f69efadca4cfffa9b5a7 100644 (file)
@@ -71,6 +71,8 @@
 #endif
 
 #include <ctype.h>
+#define HTTP_IS_CTYPE(type, c) is##type((int) (unsigned char) (c))
+#define HTTP_TO_CTYPE(type, c) to##type((int) (unsigned char) (c))
 
 extern zend_module_entry http_module_entry;
 #define phpext_http_ptr &http_module_entry
@@ -115,6 +117,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http)
 
        struct _http_globals_request {
                time_t time;
+               HashTable *headers;
                struct _http_globals_request_methods {
                        char *allowed;
                        struct _http_globals_request_methods_custom {