NetSurf
|
Go to the source code of this file.
Functions | |
nserror | http__parse_challenge (const char **input, http_challenge **parameter) |
Parse an HTTP challenge. More... | |
nserror http__parse_challenge | ( | const char ** | input, |
http_challenge ** | challenge | ||
) |
Parse an HTTP challenge.
input | Pointer to current input byte. Updated on exit. |
challenge | Pointer to location to receive challenge |
The returned challenge is owned by the caller.
Definition at line 61 of file challenge.c.
References HTTP__ITEM_INIT, http__item_list_parse, http__parse_parameter(), http__parse_token(), http__skip_LWS(), http_destroy_challenge(), http_parameter_list_destroy(), NSERROR_NOMEM, NSERROR_NOT_FOUND, NSERROR_OK, and result.
Referenced by http_parse_www_authenticate().