NetSurf
|
Go to the source code of this file.
Functions | |
nserror | http__parse_parameter (const char **input, http_parameter **parameter) |
Parse an HTTP parameter. More... | |
nserror http__parse_parameter | ( | const char ** | input, |
http_parameter ** | parameter | ||
) |
Parse an HTTP parameter.
input | Pointer to current input byte. Updated on exit. |
parameter | Pointer to location to receive on-heap parameter. |
The returned parameter is owned by the caller.
Definition at line 61 of file parameter.c.
References HTTP__ITEM_INIT, http__parse_quoted_string(), http__parse_token(), http__skip_LWS(), http_destroy_parameter(), http_parameter::name, NSERROR_NOMEM, NSERROR_NOT_FOUND, NSERROR_OK, and http_parameter::value.
Referenced by http__parse_challenge(), http_parse_content_disposition(), and http_parse_content_type().