X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=php_http.h;h=dd49c6cfe6216760dff0d3e4ad259c2f41c290ce;hb=c5daa65dcad8fd0a916038c7567f610ea34c6315;hp=389493d666799f50666eb6b37fd70ed10277f8c6;hpb=ed4f2ff81a6afcabbce1404395f2b8da9bc2eb38;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 389493d..dd49c6c 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 "1.0.1" +#define PHP_EXT_HTTP_VERSION "1.2.0dev" #ifdef HAVE_CONFIG_H # include "config.h" @@ -26,14 +26,13 @@ #endif #include "php.h" +#include "missing.h" #include "php_http_std_defs.h" #include "phpstr/phpstr.h" -#include "missing.h" #ifdef HTTP_WANT_SAPI # if PHP_API_VERSION > 20041225 # define HTTP_HAVE_SAPI_RTIME -# else # endif # include "SAPI.h" #endif @@ -184,6 +183,7 @@ PHP_FUNCTION(http_chunked_decode); PHP_FUNCTION(http_parse_message); PHP_FUNCTION(http_parse_headers); PHP_FUNCTION(http_parse_cookie); +PHP_FUNCTION(http_build_cookie); PHP_FUNCTION(http_parse_params); PHP_FUNCTION(http_get_request_headers); PHP_FUNCTION(http_get_request_body); @@ -198,9 +198,7 @@ PHP_FUNCTION(http_put_data); PHP_FUNCTION(http_put_file); PHP_FUNCTION(http_put_stream); PHP_FUNCTION(http_request); -#ifdef HAVE_CURL_GETFORMDATA PHP_FUNCTION(http_request_body_encode); -#endif /* HAVE_CURL_GETFORMDATA */ #endif /* HTTP_HAVE_CURL */ PHP_FUNCTION(http_request_method_register); PHP_FUNCTION(http_request_method_unregister);