X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=730bf4b416932582ff7c001fded93be2a2e3a863;hp=75ca08854053cb51c9671f3e59697eaa05ef32f9;hb=bc0d0be07283bb4669e17528e347cd3870656136;hpb=af3c9945f927e8e2ebdc8e7707b70ec3ba7addfc diff --git a/http.c b/http.c index 75ca088..730bf4b 100644 --- a/http.c +++ b/http.c @@ -102,6 +102,7 @@ zend_function_entry http_functions[] = { PHP_FE(http_head, http_arg_pass_ref_3) PHP_FE(http_post_data, http_arg_pass_ref_4) PHP_FE(http_post_fields, http_arg_pass_ref_5) + PHP_FE(http_put_data, http_arg_pass_ref_4) PHP_FE(http_put_file, http_arg_pass_ref_4) PHP_FE(http_put_stream, http_arg_pass_ref_4) #endif @@ -122,6 +123,12 @@ zend_function_entry http_functions[] = { }; /* }}} */ +PHP_MINIT_FUNCTION(http); +PHP_MSHUTDOWN_FUNCTION(http); +PHP_RINIT_FUNCTION(http); +PHP_RSHUTDOWN_FUNCTION(http); +PHP_MINFO_FUNCTION(http); + /* {{{ http_module_dep */ #if ZEND_EXTENSION_API_NO >= 220050617 static zend_module_dep http_module_deps[] = { @@ -134,9 +141,9 @@ static zend_module_dep http_module_deps[] = { # ifdef HAVE_PHP_SESSION ZEND_MOD_REQUIRED("session") # endif -#ifdef HAVE_ICONV +# ifdef HAVE_ICONV ZEND_MOD_REQUIRED("iconv") -#endif +# endif {NULL, NULL, NULL, 0} }; #endif