Skip to content

Commit

Permalink
fix: update parser header file with namespaced functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescdavis authored and ioquatix committed Aug 3, 2020
1 parent f83ab67 commit 3ef7f01
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ext/thin_parser/parser.h
Expand Up @@ -38,11 +38,11 @@ typedef struct http_parser {

} http_parser;

int http_parser_init(http_parser *parser);
int http_parser_finish(http_parser *parser);
size_t http_parser_execute(http_parser *parser, const char *data, size_t len, size_t off);
int http_parser_has_error(http_parser *parser);
int http_parser_is_finished(http_parser *parser);
int thin_http_parser_init(http_parser *parser);
int thin_http_parser_finish(http_parser *parser);
size_t thin_http_parser_execute(http_parser *parser, const char *data, size_t len, size_t off);
int thin_http_parser_has_error(http_parser *parser);
int thin_http_parser_is_finished(http_parser *parser);

#define http_parser_nread(parser) (parser)->nread

Expand Down

0 comments on commit 3ef7f01

Please sign in to comment.