From 7bbb77467f6e48b12f51376d01acacab970d9615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Thu, 14 Aug 2014 03:22:20 +0200 Subject: [PATCH] doc: add very basic docs for `http_parser_execute` Reviewed-By: Fedor Indutny --- http_parser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http_parser.h b/http_parser.h index 843817b..611b5d0 100644 --- a/http_parser.h +++ b/http_parser.h @@ -287,6 +287,8 @@ unsigned long http_parser_version(void); void http_parser_init(http_parser *parser, enum http_parser_type type); +/* Executes the parser. Returns number of parsed bytes. Sets + * `parser->http_errno` on error. */ size_t http_parser_execute(http_parser *parser, const http_parser_settings *settings, const char *data,