X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_curl.h;h=709ba2272e36ec06191e6cdbc178bf90d6077ab2;hb=c52a84fd06e87bf72eb98e83abfff29779b0681c;hp=398c3ae39dc63a8d227e89fc579f14665d8c926b;hpb=29a54250b58e444974ae19840194e214cab80bd5;p=m6w6%2Fext-http diff --git a/php_http_curl.h b/php_http_curl.h index 398c3ae..709ba22 100644 --- a/php_http_curl.h +++ b/php_http_curl.h @@ -15,32 +15,14 @@ #if PHP_HTTP_HAVE_CURL -#include "php_http_request.h" -#include "php_http_request_pool.h" -#include "php_http_request_datashare.h" - -PHP_HTTP_API php_http_request_ops_t *php_http_curl_get_request_ops(void); -PHP_HTTP_API php_http_request_pool_ops_t *php_http_curl_get_request_pool_ops(void); -PHP_HTTP_API php_http_request_datashare_ops_t *php_http_curl_get_request_datashare_ops(void); +#include +#define PHP_HTTP_CURL_VERSION(x, y, z) (LIBCURL_VERSION_NUM >= (((x)<<16) + ((y)<<8) + (z))) extern PHP_MINIT_FUNCTION(http_curl); extern PHP_MSHUTDOWN_FUNCTION(http_curl); -extern PHP_RINIT_FUNCTION(http_curl); - -#if PHP_HTTP_HAVE_EVENT -struct php_http_curl_globals { - void *event_base; -}; -#endif - -extern zend_class_entry *php_http_curl_class_entry; -extern zend_function_entry php_http_curl_method_entry[]; - -#define php_http_curl_new php_http_object_new - -PHP_METHOD(HttpCURL, __construct); #endif /* PHP_HTTP_HAVE_CURL */ + #endif /* PHP_HTTP_CURL_H */ /*