|
NetSurf
|
#include <stdlib.h>#include "utils/http/challenge_internal.h"#include "utils/http/generics.h"#include "utils/http/parameter_internal.h"#include "utils/http/primitives.h"#include "utils/http/www-authenticate.h"Go to the source code of this file.
Functions | |
| nserror | http_parse_www_authenticate (const char *header_value, http_www_authenticate **result) |
| Parse an HTTP WWW-Authenticate header value. More... | |
| void | http_www_authenticate_destroy (http_www_authenticate *victim) |
| Destroy a www authenticate object. More... | |
| nserror http_parse_www_authenticate | ( | const char * | header_value, |
| http_www_authenticate ** | result | ||
| ) |
Parse an HTTP WWW-Authenticate header value.
| header_value | Header value to parse |
| result | Pointer to location to receive result |
Definition at line 28 of file www-authenticate.c.
References http_www_authenticate::challenges, http__item_list_parse, http__parse_challenge(), http__skip_LWS(), http_challenge_list_destroy(), NSERROR_NOMEM, NSERROR_NOT_FOUND, NSERROR_OK, and result.
| void http_www_authenticate_destroy | ( | http_www_authenticate * | victim | ) |
Destroy a www authenticate object.
| victim | Object to destroy |
Definition at line 70 of file www-authenticate.c.
References http_www_authenticate::challenges, and http_challenge_list_destroy().