projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix segv if http_absolute_uri returns NULL
[m6w6/ext-http]
/
php_http_requestpool_object.h
diff --git
a/php_http_requestpool_object.h
b/php_http_requestpool_object.h
index 2c70a0102229bd6ed05c75ba5bf254a375a01b33..c5af3be511b7c29bd488208e4a0050c9bd6b2fcc 100644
(file)
--- a/
php_http_requestpool_object.h
+++ b/
php_http_requestpool_object.h
@@
-17,14
+17,6
@@
#ifdef HTTP_HAVE_CURL
#ifdef ZEND_ENGINE_2
#ifdef HTTP_HAVE_CURL
#ifdef ZEND_ENGINE_2
-#ifdef PHP_WIN32
-# include <winsock2.h>
-#endif
-
-#include <curl/curl.h>
-
-#include "php_http_request_pool_api.h"
-
typedef struct {
zend_object zo;
http_request_pool pool;
typedef struct {
zend_object zo;
http_request_pool pool;
@@
-56,6
+48,7
@@
PHP_METHOD(HttpRequestPool, current);
PHP_METHOD(HttpRequestPool, key);
PHP_METHOD(HttpRequestPool, next);
PHP_METHOD(HttpRequestPool, rewind);
PHP_METHOD(HttpRequestPool, key);
PHP_METHOD(HttpRequestPool, next);
PHP_METHOD(HttpRequestPool, rewind);
+PHP_METHOD(HttpRequestPool, count);
PHP_METHOD(HttpRequestPool, getAttachedRequests);
PHP_METHOD(HttpRequestPool, getFinishedRequests);
PHP_METHOD(HttpRequestPool, getAttachedRequests);
PHP_METHOD(HttpRequestPool, getFinishedRequests);