X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_client_request.c;h=42117f95cce513688058cb1155c4d838947f4607;hb=ee95d238f4ffa07e8c5f146848cd1e73ac2447d1;hp=2a842b47d8bd0dae24718085049b81e00db13f0a;hpb=87702149e0c422104aec0ddb7391f91392be0376;p=m6w6%2Fext-http diff --git a/php_http_client_request.c b/php_http_client_request.c index 2a842b4..42117f9 100644 --- a/php_http_client_request.c +++ b/php_http_client_request.c @@ -12,6 +12,10 @@ #include "php_http_api.h" +void php_http_client_options_set_subr(zval *this_ptr, char *key, size_t len, zval *opts, int overwrite TSRMLS_DC); +void php_http_client_options_set(zval *this_ptr, zval *opts TSRMLS_DC); +void php_http_client_options_get_subr(zval *this_ptr, char *key, size_t len, zval *return_value TSRMLS_DC); + #define PHP_HTTP_BEGIN_ARGS(method, req_args) PHP_HTTP_BEGIN_ARGS_EX(HttpClientRequest, method, 0, req_args) #define PHP_HTTP_EMPTY_ARGS(method) PHP_HTTP_EMPTY_ARGS_EX(HttpClientRequest, method, 0) #define PHP_HTTP_CLIENT_REQUEST_ME(method, visibility) PHP_ME(HttpClientRequest, method, PHP_HTTP_ARGS(HttpClientRequest, method), visibility)