let the ctor honor the options array too
[m6w6/ext-http] / php_http_client_datashare_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_CLIENT_DATASHARE_CURL_H
14 #define PHP_HTTP_CLIENT_DATASHARE_CURL_H
15
16 #if PHP_HTTP_HAVE_CURL
17
18 PHP_HTTP_API php_http_client_datashare_ops_t *php_http_client_datashare_curl_get_ops(void);
19
20 extern zend_object_value php_http_client_datashare_curl_object_new(zend_class_entry *ce TSRMLS_DC);
21 extern zend_object_value php_http_client_datashare_curl_object_new_ex(zend_class_entry *ce, php_http_client_datashare_t *share, php_http_client_datashare_object_t **ptr TSRMLS_DC);
22
23 PHP_MINIT_FUNCTION(http_client_datashare_curl);
24
25 #endif /* PHP_HTTP_HAVE_CURL */
26
27 #endif /* PHP_HTTP_CLIENT_DATASHARE_CURL_H */
28
29 /*
30 * Local variables:
31 * tab-width: 4
32 * c-basic-offset: 4
33 * End:
34 * vim600: noet sw=4 ts=4 fdm=marker
35 * vim<600: noet sw=4 ts=4
36 */
37