X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_message_parser.h;h=dcde640fb50b8fbf880f04d2c65ba8f874517630;hp=ee6d022829c7c59d611b0de9992db9cd66be4647;hb=df06e2dbf48a3b0d96f2c62071c1b5fc907a98d0;hpb=34c5e92d16dbd185ca792bd889d9e6d27cdaac80 diff --git a/php_http_message_parser.h b/php_http_message_parser.h index ee6d022..dcde640 100644 --- a/php_http_message_parser.h +++ b/php_http_message_parser.h @@ -2,6 +2,10 @@ #ifndef PHP_HTTP_MESSAGE_PARSER_H #define PHP_HTTP_MESSAGE_PARSER_H +#include "php_http_header_parser.h" +#include "php_http_encoding.h" +#include "php_http_message.h" + typedef enum php_http_message_parser_state { PHP_HTTP_MESSAGE_PARSER_STATE_FAILURE = FAILURE, PHP_HTTP_MESSAGE_PARSER_STATE_START = 0, @@ -16,7 +20,8 @@ typedef enum php_http_message_parser_state { } php_http_message_parser_state_t; #define PHP_HTTP_MESSAGE_PARSER_CLEANUP 0x1 -#define PHP_HTTP_MESSAGE_PARSER_EMPTY_REDIRECTS 0x2 +#define PHP_HTTP_MESSAGE_PARSER_DUMB_BODIES 0x2 +#define PHP_HTTP_MESSAGE_PARSER_EMPTY_REDIRECTS 0x4 typedef struct php_http_message_parser { php_http_header_parser_t header;