projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix issues ifndef HTTP_HAVE_CURL
[m6w6/ext-http]
/
php_http.h
diff --git
a/php_http.h
b/php_http.h
index 223a4f63dbab25bd6f59450f95ac465c3ff3186c..9394129ffdbeecac1e4dabce55e4396edcddbdab 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-18,7
+18,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
5.0
"
+#define HTTP_PEXT_VERSION "0.1
6.0dev
"
/* make compile on Win32 */
#ifdef HTTP_HAVE_CURL
/* make compile on Win32 */
#ifdef HTTP_HAVE_CURL
@@
-59,6
+59,7
@@
ZEND_BEGIN_MODULE_GLOBALS(http)
char *content_type;
char *unquoted_etag;
time_t last_modified;
char *content_type;
char *unquoted_etag;
time_t last_modified;
+ int gzip_encoding;
} send;
struct _http_globals_request {
} send;
struct _http_globals_request {
@@
-140,6
+141,7
@@
PHP_FUNCTION(http_inflate);
PHP_FUNCTION(http_compress);
PHP_FUNCTION(http_uncompress);
#endif
PHP_FUNCTION(http_compress);
PHP_FUNCTION(http_uncompress);
#endif
+PHP_FUNCTION(http_support);
PHP_MINIT_FUNCTION(http);
PHP_MSHUTDOWN_FUNCTION(http);
PHP_MINIT_FUNCTION(http);
PHP_MSHUTDOWN_FUNCTION(http);