libavformat/httpauth.h File Reference

Go to the source code of this file.

Data Structures

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

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)


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 242 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 90 of file httpauth.c.

Referenced by process_line().


Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8