VLC 4.0.0-dev
Loading...
Searching...
No Matches
http_auth.c File Reference
Include dependency graph for http_auth.c:

Macros

#define AuthGetParam(HEADER, PARAM)   AuthGetParamConcat( HEADER, PARAM "=\"" )
 
#define AuthGetParamNoQuotes(HEADER, PARAM)   AuthGetParamNoQuotesConcat( HEADER, PARAM "=" )
 

Functions

static char * AuthGetParamConcat (const char *psz_header, const char *psz_what)
 
static char * AuthGetParamNoQuotesConcat (const char *psz_header, const char *psz_what)
 
static char * GenerateCnonce (void)
 
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)
 

Macro Definition Documentation

◆ AuthGetParam

#define AuthGetParam (   HEADER,
  PARAM 
)    AuthGetParamConcat( HEADER, PARAM "=\"" )

◆ AuthGetParamNoQuotes

#define AuthGetParamNoQuotes (   HEADER,
  PARAM 
)    AuthGetParamNoQuotesConcat( HEADER, PARAM "=" )

Function Documentation

◆ AuthDigest()

◆ AuthGetParamConcat()

static char * AuthGetParamConcat ( const char *  psz_header,
const char *  psz_what 
)
static

References strdup(), and strndup().

◆ AuthGetParamNoQuotesConcat()

static char * AuthGetParamNoQuotesConcat ( const char *  psz_header,
const char *  psz_what 
)
static

References strdup(), and strndup().

◆ GenerateCnonce()

◆ vlc_http_auth_Deinit()

◆ vlc_http_auth_FormatAuthorizationHeader()

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 
)

◆ vlc_http_auth_Init()

void vlc_http_auth_Init ( vlc_http_auth_t p_auth)

◆ vlc_http_auth_ParseAuthenticationInfoHeader()

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 
)

◆ vlc_http_auth_ParseWwwAuthenticateHeader()