projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- config.m4 moved to config9.m4
[m6w6/ext-http]
/
php_http.h
diff --git
a/php_http.h
b/php_http.h
index c45c319dee9b792c911bb1cd00b7283d4fcfc38e..08b2a4db4009ae7b908fa5bf4552c48e13ee8420 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-89,6
+89,7
@@
ZEND_BEGIN_MODULE_GLOBALS(http)
struct _http_globals_log {
char *cache;
char *redirect;
struct _http_globals_log {
char *cache;
char *redirect;
+ char *not_found;
char *allowed_methods;
char *composite;
} log;
char *allowed_methods;
char *composite;
} log;
@@
-110,6
+111,7
@@
ZEND_BEGIN_MODULE_GLOBALS(http)
long start_flags;
void *stream;
} inflate;
long start_flags;
void *stream;
} inflate;
+ zend_bool not_found_404;
} send;
struct _http_globals_request {
} send;
struct _http_globals_request {
@@
-142,6
+144,8
@@
ZEND_EXTERN_MODULE_GLOBALS(http);
# define HTTP_G (&http_globals)
#endif
# define HTTP_G (&http_globals)
#endif
+#define HTTP_HAVE_EXT(EXT) ((defined(HAVE_##EXT) || defined(HAVE_PHP_##EXT)) && (HTTP_SHARED_DEPS || !defined(COMPILE_DL_##EXT)))
+
PHP_FUNCTION(http_test);
PHP_FUNCTION(http_date);
PHP_FUNCTION(http_build_url);
PHP_FUNCTION(http_test);
PHP_FUNCTION(http_date);
PHP_FUNCTION(http_build_url);