X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=1234f9ba273418c9c5c1ecd699bf4c7ecb464e2c;hp=48a7d524a8fd398194deb6684543a263044dc7be;hb=9bfaa02649e367ae3a7fdd89069034f6fc8602e7;hpb=815d3dc46b3c98fded874db7b8ef5f0f70dd9927 diff --git a/php_http.h b/php_http.h index 48a7d52..1234f9b 100644 --- a/php_http.h +++ b/php_http.h @@ -18,7 +18,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_EXT_HTTP_VERSION "0.6.0" +#define PHP_EXT_HTTP_VERSION "0.7.0-dev" /* make compile on Win32 */ #include "php_streams.h" @@ -55,7 +55,7 @@ typedef enum { HTTP_POST, } http_request_method; -#endif +#endif /* HTTP_HAVE _CURL */ PHP_METHOD(HTTPi, date); PHP_METHOD(HTTPi, absoluteURI); @@ -79,7 +79,7 @@ PHP_METHOD(HTTPi, get); PHP_METHOD(HTTPi, head); PHP_METHOD(HTTPi, postData); PHP_METHOD(HTTPi, postArray); -#endif +#endif /* HTTP_HAVE_CURL */ PHP_METHOD(HTTPi, authBasic); PHP_METHOD(HTTPi, authBasicCallback); @@ -166,12 +166,12 @@ PHP_FUNCTION(http_get); PHP_FUNCTION(http_head); PHP_FUNCTION(http_post_data); PHP_FUNCTION(http_post_array); -#endif +#endif /* HTTP_HAVE_CURL */ PHP_FUNCTION(http_auth_basic); PHP_FUNCTION(http_auth_basic_cb); #ifndef ZEND_ENGINE_2 PHP_FUNCTION(http_build_query); -#endif +#endif /* ZEND_ENGINE_2 */ PHP_FUNCTION(ob_httpetaghandler); PHP_MINIT_FUNCTION(http); @@ -196,7 +196,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http) size_t size; } curlbuf; zend_llist to_free; -#endif +#endif /* HTTP_HAVE_CURL */ ZEND_END_MODULE_GLOBALS(http) #endif /* PHP_HTTP_H */