bd1c61ab5f686c6d9f8f9ccc2cf4664aefb0f399
[m6w6/ext-http] / php_http_curl.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
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 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_HTTP_CURL_H
14 #define PHP_HTTP_CURL_H
15
16 #if PHP_HTTP_HAVE_CURL
17
18 PHP_HTTP_API php_http_request_ops_t *php_http_curl_get_request_ops(void);
19 PHP_HTTP_API php_http_request_pool_ops_t *php_http_curl_get_request_pool_ops(void);
20 PHP_HTTP_API php_http_request_datashare_ops_t *php_http_curl_get_request_datashare_ops(void);
21
22 extern PHP_MINIT_FUNCTION(http_curl);
23 extern PHP_MSHUTDOWN_FUNCTION(http_curl);
24 extern PHP_RINIT_FUNCTION(http_curl);
25
26 #if PHP_HTTP_HAVE_EVENT
27 struct php_http_curl_globals {
28 void *event_base;
29 };
30 #endif
31
32 extern zend_class_entry *php_http_curl_class_entry;
33 extern zend_function_entry php_http_curl_method_entry[];
34
35 #define php_http_curl_new php_http_object_new
36
37 PHP_METHOD(HttpCURL, __construct);
38
39 #endif /* PHP_HTTP_HAVE_CURL */
40 #endif /* PHP_HTTP_CURL_H */
41
42 /*
43 * Local variables:
44 * tab-width: 4
45 * c-basic-offset: 4
46 * End:
47 * vim600: noet sw=4 ts=4 fdm=marker
48 * vim<600: noet sw=4 ts=4
49 */
50