X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_requestpool_object.h;h=356d62b4dfa0c12653e969569c0aa6f680fd827d;hp=f6f7736f3a61f179562273689a27a78c7e70bb9e;hb=420da53028a5cd0ba286359fdaecd3cbded970e7;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f diff --git a/php_http_requestpool_object.h b/php_http_requestpool_object.h index f6f7736..356d62b 100644 --- a/php_http_requestpool_object.h +++ b/php_http_requestpool_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -17,7 +17,7 @@ #ifdef HTTP_HAVE_CURL #ifdef ZEND_ENGINE_2 -typedef struct { +typedef struct _http_requestpool_object_t { zend_object zo; http_request_pool pool; struct { @@ -51,6 +51,8 @@ PHP_METHOD(HttpRequestPool, rewind); PHP_METHOD(HttpRequestPool, count); PHP_METHOD(HttpRequestPool, getAttachedRequests); PHP_METHOD(HttpRequestPool, getFinishedRequests); +PHP_METHOD(HttpRequestPool, enablePipelining); +PHP_METHOD(HttpRequestPool, enableEvents); #endif #endif