X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_request_pool_api.h;h=d357596ca611552b74d90af65af1d0fdd13e339f;hb=9a35b7682fede86cb0167d21a67fea38a6e85181;hp=3243de936e0ea672eaee399c1f2212335a96e17e;hpb=559c156f3d0aeffe2c920d9275f47cfcdfc40bdf;p=m6w6%2Fext-http diff --git a/php_http_request_pool_api.h b/php_http_request_pool_api.h index 3243de9..d357596 100644 --- a/php_http_request_pool_api.h +++ b/php_http_request_pool_api.h @@ -19,6 +19,7 @@ #define PHP_HTTP_REQUEST_POOL_API_H #include "php_http_std_defs.h" +#include "php_http_request_api.h" #include "phpstr/phpstr.h" #ifdef PHP_WIN32 @@ -36,6 +37,8 @@ typedef struct { #define http_request_pool_responsehandler _http_request_pool_responsehandler extern void _http_request_pool_responsehandler(zval **req TSRMLS_DC); +#define http_request_pool_requesthandler(r, b) _http_request_pool_requesthandler((r), (b) TSRMLS_CC) +extern STATUS _http_request_pool_requesthandler(zval *request, http_request_body *body TSRMLS_DC); #define http_request_pool_init(p) _http_request_pool_init((p) TSRMLS_CC) PHP_HTTP_API http_request_pool *_http_request_pool_init(http_request_pool *pool TSRMLS_DC);