2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2006, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
15 #ifndef PHP_HTTP_REQUESTPOOL_OBJECT_H
16 #define PHP_HTTP_REQUESTPOOL_OBJECT_H
22 http_request_pool pool
;
26 } http_requestpool_object
;
28 extern zend_class_entry
*http_requestpool_object_ce
;
29 extern zend_function_entry http_requestpool_object_fe
[];
31 extern PHP_MINIT_FUNCTION(http_requestpool_object
);
33 #define http_requestpool_object_new(ce) _http_requestpool_object_new(ce TSRMLS_CC)
34 extern zend_object_value
_http_requestpool_object_new(zend_class_entry
*ce TSRMLS_DC
);
35 #define http_requestpool_object_free(o) _http_requestpool_object_free(o TSRMLS_CC)
36 extern void _http_requestpool_object_free(zend_object
*object TSRMLS_DC
);
38 PHP_METHOD(HttpRequestPool
, __construct
);
39 PHP_METHOD(HttpRequestPool
, __destruct
);
40 PHP_METHOD(HttpRequestPool
, attach
);
41 PHP_METHOD(HttpRequestPool
, detach
);
42 PHP_METHOD(HttpRequestPool
, send
);
43 PHP_METHOD(HttpRequestPool
, reset
);
44 PHP_METHOD(HttpRequestPool
, socketPerform
);
45 PHP_METHOD(HttpRequestPool
, socketSelect
);
46 PHP_METHOD(HttpRequestPool
, valid
);
47 PHP_METHOD(HttpRequestPool
, current
);
48 PHP_METHOD(HttpRequestPool
, key
);
49 PHP_METHOD(HttpRequestPool
, next
);
50 PHP_METHOD(HttpRequestPool
, rewind
);
51 PHP_METHOD(HttpRequestPool
, count
);
52 PHP_METHOD(HttpRequestPool
, getAttachedRequests
);
53 PHP_METHOD(HttpRequestPool
, getFinishedRequests
);
64 * vim600: noet sw=4 ts=4 fdm=marker
65 * vim<600: noet sw=4 ts=4