VLC
3.0.15
|
Functions | |
static char * | AuthGetParam (const char *psz_header, const char *psz_param) |
static char * | AuthGetParamNoQuotes (const char *psz_header, const char *psz_param) |
static char * | GenerateCnonce () |
static char * | AuthDigest (vlc_object_t *p_this, vlc_http_auth_t *p_auth, const char *psz_method, const char *psz_path, const char *psz_username, const char *psz_password) |
void | vlc_http_auth_ParseWwwAuthenticateHeader (vlc_object_t *p_this, vlc_http_auth_t *p_auth, const char *psz_header) |
int | vlc_http_auth_ParseAuthenticationInfoHeader (vlc_object_t *p_this, vlc_http_auth_t *p_auth, const char *psz_header, const char *psz_method, const char *psz_path, const char *psz_username, const char *psz_password) |
char * | vlc_http_auth_FormatAuthorizationHeader (vlc_object_t *p_this, vlc_http_auth_t *p_auth, const char *psz_method, const char *psz_path, const char *psz_username, const char *psz_password) |
void | vlc_http_auth_Init (vlc_http_auth_t *p_auth) |
void | vlc_http_auth_Deinit (vlc_http_auth_t *p_auth) |
|
static |
Referenced by vlc_http_auth_ParseAuthenticationInfoHeader().
|
static |
References strdup(), and strndup().
Referenced by vlc_http_auth_ParseAuthenticationInfoHeader(), and vlc_http_auth_ParseWwwAuthenticateHeader().
|
static |
|
static |
void vlc_http_auth_Deinit | ( | vlc_http_auth_t * | p_auth | ) |
char* vlc_http_auth_FormatAuthorizationHeader | ( | vlc_object_t * | p_this, |
vlc_http_auth_t * | p_auth, | ||
const char * | psz_method, | ||
const char * | psz_path, | ||
const char * | psz_username, | ||
const char * | psz_password | ||
) |
void vlc_http_auth_Init | ( | vlc_http_auth_t * | p_auth | ) |
int vlc_http_auth_ParseAuthenticationInfoHeader | ( | vlc_object_t * | p_this, |
vlc_http_auth_t * | p_auth, | ||
const char * | psz_header, | ||
const char * | psz_method, | ||
const char * | psz_path, | ||
const char * | psz_username, | ||
const char * | psz_password | ||
) |
< No error
< Unspecified error
< Unspecified error
< Unspecified error
References AuthDigest(), AuthGetParam(), AuthGetParamNoQuotes(), vlc_http_auth_t::i_nonce, msg_Err, msg_Warn, vlc_http_auth_t::psz_cnonce, vlc_http_auth_t::psz_nonce, vlc_http_auth_t::psz_qop, VLC_EGENERIC, and VLC_SUCCESS.
void vlc_http_auth_ParseWwwAuthenticateHeader | ( | vlc_object_t * | p_this, |
vlc_http_auth_t * | p_auth, | ||
const char * | psz_header | ||
) |