X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_header.h;h=a2baecb9c5acde5b304cf1b9410f13d1fc71b65f;hp=d420e3fdd54bdf06427554572e012b4e54cf1310;hb=refs%2Fheads%2Fv2.4.x;hpb=eaa046dc3e6496e523a17c3b786ef27067b9795c diff --git a/php_http_header.h b/php_http_header.h index d420e3f..a2baecb 100644 --- a/php_http_header.h +++ b/php_http_header.h @@ -15,7 +15,7 @@ #include "php_http_info.h" -PHP_HTTP_API STATUS php_http_header_parse(const char *header, size_t length, HashTable *headers, php_http_info_callback_t callback_func, void **callback_data TSRMLS_DC); +PHP_HTTP_API ZEND_RESULT_CODE php_http_header_parse(const char *header, size_t length, HashTable *headers, php_http_info_callback_t callback_func, void **callback_data TSRMLS_DC); PHP_HTTP_API void php_http_header_to_callback(HashTable *headers, zend_bool crlf, php_http_pass_format_callback_t cb, void *cb_arg TSRMLS_DC); PHP_HTTP_API void php_http_header_to_string(php_http_buffer_t *str, HashTable *headers TSRMLS_DC);