Lines Matching +full:permission +full:- +full:flags
1 /* SPDX-License-Identifier: MIT */
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
12 * The above copyright notice and this permission notice shall be included in
59 * environment (e.g. -DHTTP_MAX_HEADER_SIZE=<value>). To remove
61 * to a very large number (e.g. -DHTTP_MAX_HEADER_SIZE=0x7fffffff)
71 /* Callbacks should return non-zero to indicate an error. The parser will
77 * HEAD request which may contain 'Content-Length' or 'Transfer-Encoding:
95 /* Flag values for http_parser.flags field */
96 enum flags { enum
144 #define HTTP_PARSER_ERRNO(p) ((enum http_errno) (p)->http_errno)
150 unsigned int flags : 8; /* F_xxx values from 'flags' enum; member
151 * semi-public
160 uint64_t content_length; /* # bytes in body (0 if no Content-Length
163 /** READ-ONLY **/
200 * in parser->content_length.
207 /* Returns the library version. Bits 16-23 contain the major version number,
208 * bits 8-15 the minor version number and bits 0-7 the patch level.
228 * `parser->http_errno` on error.
252 /* Pause or un-pause the parser; a nonzero value pauses */