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

Go to the source code of this file.

Typedefs

typedef struct http_challenge http_challenge
 

Functions

const http_challengehttp_challenge_list_iterate (const http_challenge *cur, lwc_string **scheme, http_parameter **parameters)
 Iterate over a challenge list. More...
 
void http_challenge_list_destroy (http_challenge *list)
 Destroy a list of HTTP challenges. More...
 

Typedef Documentation

◆ http_challenge

Definition at line 26 of file challenge.h.

Function Documentation

◆ http_challenge_list_destroy()

void http_challenge_list_destroy ( http_challenge list)

Destroy a list of HTTP challenges.

Parameters
listList to destroy

Definition at line 136 of file challenge.c.

References http__item_list_destroy.

Referenced by http_parse_www_authenticate(), and http_www_authenticate_destroy().

Here is the caller graph for this function:

◆ http_challenge_list_iterate()

const http_challenge * http_challenge_list_iterate ( const http_challenge cur,
lwc_string **  scheme,
http_parameter **  parameters 
)

Iterate over a challenge list.

Parameters
curPointer to current iteration position, list head to start
schemePointer to location to receive challenge scheme
parametersPointer to location to receive challenge parameters
Returns
Pointer to next iteration position, or NULL for end of iteration

Definition at line 123 of file challenge.c.

References http_challenge::base, http__item::next, http_challenge::params, and http_challenge::scheme.