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-2011, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
13 #ifndef PHP_HTTP_CURL_CLIENT_POOL_H
14 #define PHP_HTTP_CURL_CLIENT_POOL_H
16 #if PHP_HTTP_HAVE_CURL
18 PHP_HTTP_API php_http_client_pool_ops_t
*php_http_curl_client_pool_get_ops(void);
20 zend_class_entry
*php_http_curl_client_pool_get_class_entry(void);
22 zend_object_value
php_http_curl_client_pool_object_new(zend_class_entry
*ce TSRMLS_DC
);
23 zend_object_value
php_http_curl_client_pool_object_new_ex(zend_class_entry
*ce
, php_http_client_pool_t
*p
, php_http_client_pool_object_t
**ptr TSRMLS_DC
);
25 #if PHP_HTTP_HAVE_EVENT
26 struct php_http_curl_globals
{
30 PHP_RINIT_FUNCTION(http_curl_client_pool
);
31 PHP_RSHUTDOWN_FUNCTION(http_curl_client_pool
);
34 PHP_MINIT_FUNCTION(http_curl_client_pool
);
36 #endif /* PHP_HTTP_HAVE_CURL */
37 #endif /* PHP_HTTP_CURL_CLIENT_POOL_H */
44 * vim600: noet sw=4 ts=4 fdm=marker
45 * vim<600: noet sw=4 ts=4