projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- drop mhash support
[m6w6/ext-http]
/
php_http.h
diff --git
a/php_http.h
b/php_http.h
index 2d436076c330055204d6aba5817330cd3788871f..2f0eadedf7d4247a22be9a8692deb6a3d02da175 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-15,7
+15,7
@@
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define HTTP_PEXT_VERSION "0.1
7.0
"
+#define HTTP_PEXT_VERSION "0.1
8.1
"
/* make compile on Win32 */
#ifdef HTTP_HAVE_CURL
/* make compile on Win32 */
#ifdef HTTP_HAVE_CURL
@@
-34,11
+34,8
@@
extern int http_module_number;
ZEND_BEGIN_MODULE_GLOBALS(http)
ZEND_BEGIN_MODULE_GLOBALS(http)
-#ifdef ZEND_ENGINE_2
- zend_bool only_exceptions;
-#endif
struct _http_globals_etag {
struct _http_globals_etag {
-
long
mode;
+
char *
mode;
void *ctx;
zend_bool started;
} etag;
void *ctx;
zend_bool started;
} etag;
@@
-78,6
+75,12
@@
ZEND_BEGIN_MODULE_GLOBALS(http)
#endif /* HTTP_HAVE_CURL */
} request;
#endif /* HTTP_HAVE_CURL */
} request;
+#ifdef ZEND_ENGINE_2
+ zend_bool only_exceptions;
+#endif
+
+ zend_bool force_exit;
+
ZEND_END_MODULE_GLOBALS(http)
#ifdef ZTS
ZEND_END_MODULE_GLOBALS(http)
#ifdef ZTS
@@
-95,6
+98,7
@@
PHP_FUNCTION(http_date);
PHP_FUNCTION(http_build_uri);
PHP_FUNCTION(http_negotiate_language);
PHP_FUNCTION(http_negotiate_charset);
PHP_FUNCTION(http_build_uri);
PHP_FUNCTION(http_negotiate_language);
PHP_FUNCTION(http_negotiate_charset);
+PHP_FUNCTION(http_negotiate_content_type);
PHP_FUNCTION(http_redirect);
PHP_FUNCTION(http_throttle);
PHP_FUNCTION(http_send_status);
PHP_FUNCTION(http_redirect);
PHP_FUNCTION(http_throttle);
PHP_FUNCTION(http_send_status);