+extern int http_module_number;
+
+ZEND_BEGIN_MODULE_GLOBALS(http)
+
+ struct _http_globals_etag {
+ zend_bool started;
+ PHP_MD5_CTX md5ctx;
+ } etag;
+
+ struct _http_globals_log {
+ char *cache;
+ } log;
+
+ struct _http_globals_send {
+ double throttle_delay;
+ size_t buffer_size;
+ char *content_type;
+ char *unquoted_etag;
+ time_t last_modified;
+ } send;
+
+ struct _http_globals_request {
+ struct _http_globals_request_methods {
+ char *allowed;
+ HashTable custom;
+ } methods;
+
+#ifdef HTTP_HAVE_CURL
+ struct _http_globlas_request_copies {
+ zend_llist strings;
+ zend_llist slists;
+ zend_llist contexts;
+ } copies;
+# if LIBCURL_VERSION_NUM < 0x070c00
+ char error[CURL_ERROR_SIZE + 1];
+# endif
+#endif /* HTTP_HAVE_CURL */
+ } request;
+
+ZEND_END_MODULE_GLOBALS(http)
+