- fix builds and tests without libcurl linked in
[m6w6/ext-http] / php_http_requestpool_object.h
index f11e65c74cde2f90b8ede159cefaaa41ce274ea7..d3954f84f68d2baba6c78d65c547be9500b265ca 100644 (file)
 
 #include <curl/curl.h>
 
-#include "php_http_request_api.h"
+#include "php_http_request_pool_api.h"
 
 typedef struct {
        zend_object zo;
        http_request_pool pool;
+       struct {
+               long pos;
+       } iterator;
 } http_requestpool_object;
 
 extern zend_class_entry *http_requestpool_object_ce;
@@ -52,6 +55,11 @@ PHP_METHOD(HttpRequestPool, reset);
 PHP_METHOD(HttpRequestPool, socketSend);
 PHP_METHOD(HttpRequestPool, socketSelect);
 PHP_METHOD(HttpRequestPool, socketRead);
+PHP_METHOD(HttpRequestPool, valid);
+PHP_METHOD(HttpRequestPool, current);
+PHP_METHOD(HttpRequestPool, key);
+PHP_METHOD(HttpRequestPool, next);
+PHP_METHOD(HttpRequestPool, rewind);
 
 #endif
 #endif