X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_api.h;h=e9c6b3c34f18b09275d7bb8cb3a2024e5e0e1434;hb=b3ead2d126e855e77ee7bc0d901c624a5633edbb;hp=101857e004b5ab5b2e409780508c7032aba85b71;hpb=96d32e2bd4a5d2b0741addf6f59b46d7d8749937;p=m6w6%2Fext-http diff --git a/php_http_api.h b/php_http_api.h index 101857e..e9c6b3c 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -19,13 +19,13 @@ #define PHP_HTTP_API_H #ifdef PHP_WIN32 -#define PHP_HTTP_API __declspec(dllexport) +# define PHP_HTTP_API __declspec(dllexport) #else -#define PHP_HTTP_API +# define PHP_HTTP_API #endif #ifndef ZEND_ENGINE_2 -#include "php_http_build_query.h" +# include "php_http_build_query.h" #endif /* make functions that return SUCCESS|FAILURE more obvious */ @@ -180,7 +180,7 @@ PHP_HTTP_API STATUS _http_post_array(const char *URL, HashTable *postarray, Hash PHP_HTTP_API STATUS _http_auth_credentials(char **user, char **pass TSRMLS_DC); #define http_auth_header(t, r) _http_auth_header((t), (r) TSRMLS_CC) -PHP_HTTP_API void _http_auth_header(const char *type, const char *realm TSRMLS_DC); +PHP_HTTP_API STATUS _http_auth_header(const char *type, const char *realm TSRMLS_DC); /* }}} */