Data Structures | Typedefs | Enumerations | Functions

libavformat/httpauth.h File Reference

Go to the source code of this file.

Data Structures

struct  DigestParams
struct  HTTPAuthState
 HTTP Authentication state structure. More...

Typedefs

typedef enum HTTPAuthType HTTPAuthType
 Authentication types, ordered from weakest to strongest.

Enumerations

enum  HTTPAuthType { HTTP_AUTH_NONE = 0, HTTP_AUTH_BASIC, HTTP_AUTH_DIGEST }
 

Authentication types, ordered from weakest to strongest.

More...

Functions

void ff_http_auth_handle_header (HTTPAuthState *state, const char *key, const char *value)
char * ff_http_auth_create_response (HTTPAuthState *state, const char *auth, const char *path, const char *method)

Typedef Documentation

typedef enum HTTPAuthType HTTPAuthType

Authentication types, ordered from weakest to strongest.


Enumeration Type Documentation

Authentication types, ordered from weakest to strongest.

Enumerator:
HTTP_AUTH_NONE 

No authentication specified.

HTTP_AUTH_BASIC 

HTTP 1.0 Basic auth from RFC 1945 (also in RFC 2617).

HTTP_AUTH_DIGEST 

HTTP 1.1 Digest auth from RFC 2617.

Definition at line 28 of file httpauth.h.


Function Documentation

char* ff_http_auth_create_response ( HTTPAuthState state,
const char *  auth,
const char *  path,
const char *  method 
)

Definition at line 288 of file httpauth.c.

Referenced by http_connect().

void ff_http_auth_handle_header ( HTTPAuthState state,
const char *  key,
const char *  value 
)

Definition at line 143 of file httpauth.c.

Referenced by process_line().