NetSurf
Data Structures | Typedefs | Functions
www-authenticate.h File Reference
#include <libwapcaplet/libwapcaplet.h>
#include "utils/http/challenge.h"
Include dependency graph for www-authenticate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  http_www_authenticate
 

Typedefs

typedef struct http_www_authenticate http_www_authenticate
 

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...
 

Typedef Documentation

◆ http_www_authenticate

Function Documentation

◆ http_parse_www_authenticate()

nserror http_parse_www_authenticate ( const char *  header_value,
http_www_authenticate **  result 
)

Parse an HTTP WWW-Authenticate header value.

Parameters
header_valueHeader value to parse
resultPointer to location to receive result
Returns
NSERROR_OK on success, NSERROR_NOMEM on memory exhaustion

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.

Here is the call graph for this function:

◆ http_www_authenticate_destroy()

void http_www_authenticate_destroy ( http_www_authenticate victim)

Destroy a www authenticate object.

Parameters
victimObject to destroy

Definition at line 70 of file www-authenticate.c.

References http_www_authenticate::challenges, and http_challenge_list_destroy().

Here is the call graph for this function: