X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_request_api.h;h=52897b64e4e83300ff6f9f93f7a3c81dfc96c8eb;hp=df335bf28ff8aa624d4fe89c494049f26c856ea9;hb=b272c1e03de58ff0c01f78421b824c7f45d43959;hpb=b30c267318b2b1add1a01e783f9dbe561a649a7b diff --git a/php_http_request_api.h b/php_http_request_api.h index df335bf..52897b6 100644 --- a/php_http_request_api.h +++ b/php_http_request_api.h @@ -131,6 +131,9 @@ PHP_HTTP_API STATUS _http_request_pool_detach(http_request_pool *pool, zval *req #define http_request_pool_send(p) _http_request_pool_send((p) TSRMLS_CC) PHP_HTTP_API STATUS _http_request_pool_send(http_request_pool *pool TSRMLS_DC); +#define http_request_pool_dtor(p) _http_request_pool_dtor((p) TSRMLS_CC) +PHP_HTTP_API void _http_request_pool_dtor(http_request_pool *pool TSRMLS_DC); + #define http_request_init(ch, meth, url, body, options, response) _http_request_init((ch), (meth), (url), (body), (options), (response) TSRMLS_CC) PHP_HTTP_API STATUS _http_request_init(CURL *ch, http_request_method meth, const char *url, http_request_body *body, HashTable *options, phpstr *response TSRMLS_DC);