31 const char *pos = header_value;
56 wa = malloc(
sizeof(*wa));
nserror http__parse_challenge(const char **input, http_challenge **challenge)
Parse an HTTP challenge.
void http_challenge_list_destroy(http_challenge *list)
Destroy a list of HTTP challenges.
nserror
Enumeration of error codes.
@ NSERROR_NOT_FOUND
Requested item not found.
@ NSERROR_NOMEM
Memory exhaustion.
#define http__item_list_parse(i, p, f, r)
void http__skip_LWS(const char **input)
Skip past linear whitespace in input.
Representation of an HTTP challenge.
http_challenge * challenges
nserror http_parse_www_authenticate(const char *header_value, http_www_authenticate **result)
Parse an HTTP WWW-Authenticate header value.
void http_www_authenticate_destroy(http_www_authenticate *victim)
Destroy a www authenticate object.