X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_requestpool_object.h;h=51a1dcc64b20e036a1fe29f5f40f67e555d0152e;hp=c5af3be511b7c29bd488208e4a0050c9bd6b2fcc;hb=ad5f896b03adaa073134a00108a9cdf00720673a;hpb=edc84b40eb2c5be04492fa98fec5833a030782eb diff --git a/php_http_requestpool_object.h b/php_http_requestpool_object.h index c5af3be..51a1dcc 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-2005, Michael Wallner | + | Copyright (c) 2004-2010, 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