2 +----------------------------------------------------------------------+
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.0 of the PHP license, that |
6 | is bundled with this package in the file LICENSE, and is available |
7 | through the world-wide-web at http://www.php.net/license/3_0.txt. |
8 | If you did not receive a copy of the PHP license and are unable to |
9 | obtain it through the world-wide-web, please send a note to |
10 | license@php.net so we can mail you a copy immediately. |
11 +----------------------------------------------------------------------+
12 | Copyright (c) 2004-2005 Michael Wallner <mike@php.net> |
13 +----------------------------------------------------------------------+
18 #ifndef PHP_HTTP_REQUESTPOOL_OBJECT_H
19 #define PHP_HTTP_REQUESTPOOL_OBJECT_H
24 # include <winsock2.h>
27 #include <curl/curl.h>
29 #include "php_http_request_pool_api.h"
33 http_request_pool pool
;
37 } http_requestpool_object
;
39 extern zend_class_entry
*http_requestpool_object_ce
;
40 extern zend_function_entry http_requestpool_object_fe
[];
42 #define http_requestpool_object_init() _http_requestpool_object_init(INIT_FUNC_ARGS_PASSTHRU)
43 extern void _http_requestpool_object_init(INIT_FUNC_ARGS
);
44 #define http_requestpool_object_new _http_requestpool_object_new
45 extern zend_object_value
_http_requestpool_object_new(zend_class_entry
*ce TSRMLS_DC
);
46 #define http_requestpool_object_free _http_requestpool_object_free
47 extern void _http_requestpool_object_free(zend_object
*object TSRMLS_DC
);
49 PHP_METHOD(HttpRequestPool
, __construct
);
50 PHP_METHOD(HttpRequestPool
, __destruct
);
51 PHP_METHOD(HttpRequestPool
, attach
);
52 PHP_METHOD(HttpRequestPool
, detach
);
53 PHP_METHOD(HttpRequestPool
, send
);
54 PHP_METHOD(HttpRequestPool
, reset
);
55 PHP_METHOD(HttpRequestPool
, socketSend
);
56 PHP_METHOD(HttpRequestPool
, socketSelect
);
57 PHP_METHOD(HttpRequestPool
, socketRead
);
58 PHP_METHOD(HttpRequestPool
, valid
);
59 PHP_METHOD(HttpRequestPool
, current
);
60 PHP_METHOD(HttpRequestPool
, key
);
61 PHP_METHOD(HttpRequestPool
, next
);
62 PHP_METHOD(HttpRequestPool
, rewind
);
73 * vim600: noet sw=4 ts=4 fdm=marker
74 * vim<600: noet sw=4 ts=4