projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- move specific initialization code to the respective modules
[m6w6/ext-http]
/
php_http_cache_api.h
diff --git
a/php_http_cache_api.h
b/php_http_cache_api.h
index 4f067f5a0c72c5fcb8936faa3e80f3f3a52b95f8..d7e53b77b41bc5c073ae52e6ef3c66a750919387 100644
(file)
--- a/
php_http_cache_api.h
+++ b/
php_http_cache_api.h
@@
-34,10
+34,12
@@
ZEND_EXTERN_MODULE_GLOBALS(http);
ZEND_EXTERN_MODULE_GLOBALS(http);
+#define http_cache_global_init() _http_cache_global_init(INIT_FUNC_ARGS_PASSTHRU)
+extern STATUS _http_cache_global_init(INIT_FUNC_ARGS);
+
typedef enum {
HTTP_ETAG_MD5 = -2,
HTTP_ETAG_SHA1 = -1,
typedef enum {
HTTP_ETAG_MD5 = -2,
HTTP_ETAG_SHA1 = -1,
- HTTP_ETAG_MHASH = 0,
} http_etag_mode;
#ifdef HTTP_HAVE_MHASH
} http_etag_mode;
#ifdef HTTP_HAVE_MHASH