update curl info
[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 #include "php_http_request.h"
19 #include "php_http_request_pool.h"
20 #include "php_http_request_datashare.h"
21
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);
25
26 extern PHP_MINIT_FUNCTION(http_curl);
27 extern PHP_MSHUTDOWN_FUNCTION(http_curl);
28 extern PHP_RINIT_FUNCTION(http_curl);
29
30 #if PHP_HTTP_HAVE_EVENT
31 struct php_http_curl_globals {
32 void *event_base;
33 };
34 #endif
35
36 extern zend_class_entry *php_http_curl_class_entry;
37 extern zend_function_entry php_http_curl_method_entry[];
38
39 #define php_http_curl_new php_http_object_new
40
41 PHP_METHOD(HttpCURL, __construct);
42
43 #endif /* PHP_HTTP_HAVE_CURL */
44 #endif /* PHP_HTTP_CURL_H */
45
46 /*
47 * Local variables:
48 * tab-width: 4
49 * c-basic-offset: 4
50 * End:
51 * vim600: noet sw=4 ts=4 fdm=marker
52 * vim<600: noet sw=4 ts=4
53 */
54