X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=4e2a7c67bc5e0c2b49f418b354c39224af60e1b8;hp=9e67cfac7f0181e739749b91a8937731c89615d3;hb=dbc4ec02cd319000b5c8589910047cfe6d5738be;hpb=5bf21b22dcc28e60dca9dc4637520ee0cb9f565d diff --git a/php_http.h b/php_http.h index 9e67cfa..4e2a7c6 100644 --- a/php_http.h +++ b/php_http.h @@ -15,7 +15,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_EXT_HTTP_VERSION "0.24.0" +#define PHP_EXT_HTTP_VERSION "1.0.0RC5-dev" #ifdef HAVE_CONFIG_H # include "config.h" @@ -118,6 +118,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http) struct _http_globals_request_methods { char *allowed; struct _http_globals_request_methods_custom { + char *ini; int count; void *entries; } custom; @@ -169,6 +170,7 @@ PHP_FUNCTION(http_chunked_decode); PHP_FUNCTION(http_parse_message); PHP_FUNCTION(http_parse_headers); PHP_FUNCTION(http_parse_cookie); +PHP_FUNCTION(http_parse_params); PHP_FUNCTION(http_get_request_headers); PHP_FUNCTION(http_get_request_body); PHP_FUNCTION(http_get_request_body_stream); @@ -178,8 +180,11 @@ PHP_FUNCTION(http_get); PHP_FUNCTION(http_head); PHP_FUNCTION(http_post_data); PHP_FUNCTION(http_post_fields); +PHP_FUNCTION(http_put_data); PHP_FUNCTION(http_put_file); PHP_FUNCTION(http_put_stream); +PHP_FUNCTION(http_request); +PHP_FUNCTION(http_request_body_encode); #endif /* HTTP_HAVE_CURL */ PHP_FUNCTION(http_request_method_register); PHP_FUNCTION(http_request_method_unregister); @@ -194,12 +199,6 @@ PHP_FUNCTION(ob_inflatehandler); #endif PHP_FUNCTION(http_support); -PHP_MINIT_FUNCTION(http); -PHP_MSHUTDOWN_FUNCTION(http); -PHP_RINIT_FUNCTION(http); -PHP_RSHUTDOWN_FUNCTION(http); -PHP_MINFO_FUNCTION(http); - #endif /* PHP_HTTP_H */ /*