Merge branch 'merge-DEV_2'
[m6w6/ext-http] / php_http_client_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-2014, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_HTTP_CLIENT_CURL_H
14 #define PHP_HTTP_CLIENT_CURL_H
15
16 #if PHP_HTTP_HAVE_CURL
17
18 #if PHP_HTTP_HAVE_EVENT
19 struct php_http_curl_globals {
20 void *event_base;
21 };
22
23 PHP_RINIT_FUNCTION(http_client_curl);
24 PHP_RSHUTDOWN_FUNCTION(http_client_curl);
25 #endif /* PHP_HTTP_HAVE_EVENT */
26
27 PHP_MINIT_FUNCTION(http_client_curl);
28 PHP_MSHUTDOWN_FUNCTION(http_client_curl);
29 #endif /* PHP_HTTP_HAVE_CURL */
30
31 #endif /* PHP_HTTP_CLIENT_CURL_H */
32
33 /*
34 * Local variables:
35 * tab-width: 4
36 * c-basic-offset: 4
37 * End:
38 * vim600: noet sw=4 ts=4 fdm=marker
39 * vim<600: noet sw=4 ts=4
40 */