
Go to the source code of this file.
Data Structures | |
| struct | http_auth_t |
Defines | |
| #define | VLC_HTTP_H 1 |
Functions | |
| void | http_auth_Init (http_auth_t *) |
| void | http_auth_Reset (http_auth_t *) |
| void | http_auth_ParseWwwAuthenticateHeader (vlc_object_t *, http_auth_t *, const char *) |
| int | http_auth_ParseAuthenticationInfoHeader (vlc_object_t *, http_auth_t *, const char *, const char *, const char *, const char *, const char *) |
| char * | http_auth_FormatAuthorizationHeader (vlc_object_t *, http_auth_t *, const char *, const char *, const char *, const char *) |
| #define VLC_HTTP_H 1 |
| char* http_auth_FormatAuthorizationHeader | ( | vlc_object_t * | , | |
| http_auth_t * | , | |||
| const char * | , | |||
| const char * | , | |||
| const char * | , | |||
| const char * | ||||
| ) |
References asprintf(), AuthDigest(), GenerateCnonce(), http_auth_t::i_nonce, msg_Err, http_auth_t::psz_algorithm, http_auth_t::psz_cnonce, http_auth_t::psz_nonce, http_auth_t::psz_opaque, http_auth_t::psz_qop, http_auth_t::psz_realm, and vlc_b64_encode().
Referenced by AuthReply(), and ExecRequest().
| void http_auth_Init | ( | http_auth_t * | ) |
Referenced by OpenWithCookies().
| int http_auth_ParseAuthenticationInfoHeader | ( | vlc_object_t * | , | |
| http_auth_t * | , | |||
| const char * | , | |||
| const char * | , | |||
| const char * | , | |||
| const char * | , | |||
| const char * | ||||
| ) |
References AuthDigest(), AuthGetParam(), AuthGetParamNoQuotes(), http_auth_t::i_nonce, msg_Err, msg_Warn, http_auth_t::psz_cnonce, http_auth_t::psz_nonce, http_auth_t::psz_qop, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by AuthCheckReply().
| void http_auth_ParseWwwAuthenticateHeader | ( | vlc_object_t * | , | |
| http_auth_t * | , | |||
| const char * | ||||
| ) |
References AuthGetParam(), AuthGetParamNoQuotes(), http_auth_t::i_nonce, msg_Dbg, msg_Warn, http_auth_t::psz_algorithm, http_auth_t::psz_domain, http_auth_t::psz_nonce, http_auth_t::psz_opaque, http_auth_t::psz_qop, http_auth_t::psz_realm, http_auth_t::psz_stale, and strncasecmp().
Referenced by ParseAuthenticateHeader(), and Request().
| void http_auth_Reset | ( | http_auth_t * | ) |
References FREENULL, http_auth_t::i_nonce, http_auth_t::psz_algorithm, http_auth_t::psz_cnonce, http_auth_t::psz_domain, http_auth_t::psz_HA1, http_auth_t::psz_nonce, http_auth_t::psz_opaque, http_auth_t::psz_qop, http_auth_t::psz_realm, and http_auth_t::psz_stale.
Referenced by Close(), and OpenWithCookies().
1.5.6