This file defines functions, structures, enums and macros shared between HTTP clients.
More...
Go to the source code of this file.
Data Structures |
| struct | http_auth_t |
Typedefs |
| typedef struct http_auth_t | http_auth_t |
Functions |
| VLC_API void | http_auth_Init (http_auth_t *) |
| VLC_API void | http_auth_Reset (http_auth_t *) |
| VLC_API void | http_auth_ParseWwwAuthenticateHeader (vlc_object_t *, http_auth_t *, const char *) |
| VLC_API int | http_auth_ParseAuthenticationInfoHeader (vlc_object_t *, http_auth_t *, const char *, const char *, const char *, const char *, const char *) |
| VLC_API char * | http_auth_FormatAuthorizationHeader (vlc_object_t *, http_auth_t *, const char *, const char *, const char *, const char *) VLC_USED |
Detailed Description
This file defines functions, structures, enums and macros shared between HTTP clients.
Typedef Documentation
Function Documentation
| VLC_API 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().
| VLC_API int http_auth_ParseAuthenticationInfoHeader |
( |
vlc_object_t * |
, |
|
|
http_auth_t * |
, |
|
|
const char * |
, |
|
|
const char * |
, |
|
|
const char * |
, |
|
|
const char * |
, |
|
|
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().
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.