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_H
14 #define PHP_HTTP_CURL_H
16 #if PHP_HTTP_HAVE_CURL
18 #include "php_http_request.h"
19 #include "php_http_request_pool.h"
20 #include "php_http_request_datashare.h"
22 PHP_HTTP_API php_http_request_ops_t
*php_http_curl_get_request_ops(void);
23 PHP_HTTP_API php_http_request_pool_ops_t
*php_http_curl_get_request_pool_ops(void);
24 PHP_HTTP_API php_http_request_datashare_ops_t
*php_http_curl_get_request_datashare_ops(void);
26 extern PHP_MINIT_FUNCTION(http_curl
);
27 extern PHP_MSHUTDOWN_FUNCTION(http_curl
);
28 extern PHP_RINIT_FUNCTION(http_curl
);
30 #if PHP_HTTP_HAVE_EVENT
31 struct php_http_curl_globals
{
36 extern zend_class_entry
*php_http_curl_class_entry
;
37 extern zend_function_entry php_http_curl_method_entry
[];
39 #define php_http_curl_new php_http_object_new
41 PHP_METHOD(HttpCURL
, __construct
);
43 #endif /* PHP_HTTP_HAVE_CURL */
44 #endif /* PHP_HTTP_CURL_H */
51 * vim600: noet sw=4 ts=4 fdm=marker
52 * vim<600: noet sw=4 ts=4