X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_header_parser.h;h=0d52930da09067030085ac876a3e527839868659;hb=2aa318b3eb1d885b29bf172290f35a3096e339a7;hp=9d24be1cd543d106853f6f232167e11fcec341a0;hpb=d3485e3b28336153dca690e872ffe1ddc60fedd2;p=m6w6%2Fext-http diff --git a/php_http_header_parser.h b/php_http_header_parser.h index 9d24be1..0d52930 100644 --- a/php_http_header_parser.h +++ b/php_http_header_parser.h @@ -1,6 +1,8 @@ #ifndef PHP_HTTP_HEADER_PARSER_H #define PHP_HTTP_HEADER_PARSER_H +#include "php_http_info.h" + typedef enum php_http_header_parser_state { PHP_HTTP_HEADER_PARSER_STATE_FAILURE = FAILURE, PHP_HTTP_HEADER_PARSER_STATE_START = 0, @@ -34,6 +36,6 @@ PHP_HTTP_API php_http_header_parser_state_t php_http_header_parser_state_is(php_ PHP_HTTP_API php_http_header_parser_state_t php_http_header_parser_state_pop(php_http_header_parser_t *parser); PHP_HTTP_API void php_http_header_parser_dtor(php_http_header_parser_t *parser); PHP_HTTP_API void php_http_header_parser_free(php_http_header_parser_t **parser); -PHP_HTTP_API STATUS php_http_header_parser_parse(php_http_header_parser_t *parser, php_http_buffer *buffer, unsigned flags, HashTable *headers, php_http_info_callback_t callback_func, void *callback_arg); +PHP_HTTP_API STATUS php_http_header_parser_parse(php_http_header_parser_t *parser, php_http_buffer_t *buffer, unsigned flags, HashTable *headers, php_http_info_callback_t callback_func, void *callback_arg); #endif /* PHP_HTTP_HEADER_PARSER_H */