X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=105e4b661a8adcfa620f40c9917f6e56d62dfad8;hb=459d1941b55cd5bc648e0e4859af91dbbd78a5cc;hp=0b65451b49b2d234e097d060601b34409ed1f21e;hpb=d9a5eb7f270247c44f4ff78c1f5d03d520e8fec0;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 0b65451..105e4b6 100644 --- a/php_http.h +++ b/php_http.h @@ -57,6 +57,7 @@ PHP_FUNCTION(http_send_stream); PHP_FUNCTION(http_chunked_decode); PHP_FUNCTION(http_split_response); PHP_FUNCTION(http_parse_headers); +PHP_FUNCTION(http_get_request_headers); #ifdef HTTP_HAVE_CURL PHP_FUNCTION(http_get); PHP_FUNCTION(http_head); @@ -67,6 +68,7 @@ PHP_FUNCTION(http_auth_basic); PHP_FUNCTION(http_auth_basic_cb); PHP_MINIT_FUNCTION(http); +PHP_MSHUTDOWN_FUNCTION(http); PHP_RSHUTDOWN_FUNCTION(http); PHP_MINFO_FUNCTION(http); @@ -77,6 +79,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http) char *ctype; char *etag; time_t lmod; + char *allowed_methods; #ifdef HTTP_HAVE_CURL struct { struct {