libosip  5.3.0
Classes | Typedefs | Functions
oSIP authentication-info header definition.

Classes

struct  osip_authentication_info
 

Typedefs

typedef struct osip_authentication_info osip_authentication_info_t
 

Functions

int osip_authentication_info_init (osip_authentication_info_t **header)
 
int osip_authentication_info_parse (osip_authentication_info_t *header, const char *hvalue)
 
int osip_authentication_info_to_str (const osip_authentication_info_t *header, char **dest)
 
void osip_authentication_info_free (osip_authentication_info_t *header)
 
int osip_authentication_info_clone (const osip_authentication_info_t *header, osip_authentication_info_t **dest)
 
char * osip_authentication_info_get_auth_type (osip_authentication_info_t *header)
 
void osip_authentication_info_set_auth_type (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_nextnonce (osip_authentication_info_t *header)
 
void osip_authentication_info_set_nextnonce (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_cnonce (osip_authentication_info_t *header)
 
void osip_authentication_info_set_cnonce (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_qop_options (osip_authentication_info_t *header)
 
void osip_authentication_info_set_qop_options (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_rspauth (osip_authentication_info_t *header)
 
void osip_authentication_info_set_rspauth (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_nonce_count (osip_authentication_info_t *header)
 
void osip_authentication_info_set_nonce_count (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_snum (osip_authentication_info_t *header)
 
void osip_authentication_info_set_snum (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_srand (osip_authentication_info_t *header)
 
void osip_authentication_info_set_srand (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_targetname (osip_authentication_info_t *header)
 
void osip_authentication_info_set_targetname (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_realm (osip_authentication_info_t *header)
 
void osip_authentication_info_set_realm (osip_authentication_info_t *header, char *value)
 
char * osip_authentication_info_get_opaque (osip_authentication_info_t *header)
 
void osip_authentication_info_set_opaque (osip_authentication_info_t *header, char *value)
 

Detailed Description

Typedef Documentation

◆ osip_authentication_info_t

Structure for Authentication-Info headers.

Function Documentation

◆ osip_authentication_info_clone()

int osip_authentication_info_clone ( const osip_authentication_info_t header,
osip_authentication_info_t **  dest 
)

◆ osip_authentication_info_free()

void osip_authentication_info_free ( osip_authentication_info_t header)

◆ osip_authentication_info_get_auth_type()

char* osip_authentication_info_get_auth_type ( osip_authentication_info_t header)

Get value of the auth_type parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::auth_type.

◆ osip_authentication_info_get_cnonce()

char* osip_authentication_info_get_cnonce ( osip_authentication_info_t header)

Get value of the cnonce parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::cnonce.

◆ osip_authentication_info_get_nextnonce()

char* osip_authentication_info_get_nextnonce ( osip_authentication_info_t header)

Get value of the nextnonce parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::nextnonce.

◆ osip_authentication_info_get_nonce_count()

char* osip_authentication_info_get_nonce_count ( osip_authentication_info_t header)

Get value of the nc parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::nonce_count.

◆ osip_authentication_info_get_opaque()

char* osip_authentication_info_get_opaque ( osip_authentication_info_t header)

Get value of the opaque parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::opaque.

◆ osip_authentication_info_get_qop_options()

char* osip_authentication_info_get_qop_options ( osip_authentication_info_t header)

Get value of the qop_options parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::qop_options.

◆ osip_authentication_info_get_realm()

char* osip_authentication_info_get_realm ( osip_authentication_info_t header)

Get value of the realm parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::realm.

◆ osip_authentication_info_get_rspauth()

char* osip_authentication_info_get_rspauth ( osip_authentication_info_t header)

Get value of the rspauth parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::rspauth.

◆ osip_authentication_info_get_snum()

char* osip_authentication_info_get_snum ( osip_authentication_info_t header)

Get value of the snum parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::snum.

◆ osip_authentication_info_get_srand()

char* osip_authentication_info_get_srand ( osip_authentication_info_t header)

Get value of the srand parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::srand.

◆ osip_authentication_info_get_targetname()

char* osip_authentication_info_get_targetname ( osip_authentication_info_t header)

Get value of the targetname parameter from a Authenication-Info element.

Parameters
headerThe element to work on.

References osip_authentication_info::targetname.

◆ osip_authentication_info_init()

int osip_authentication_info_init ( osip_authentication_info_t **  header)

Allocate a Authenication-Info element.

Parameters
headerThe element to work on.

Referenced by osip_authentication_info_clone(), and osip_message_set_authentication_info().

◆ osip_authentication_info_parse()

int osip_authentication_info_parse ( osip_authentication_info_t header,
const char *  hvalue 
)

◆ osip_authentication_info_set_auth_type()

void osip_authentication_info_set_auth_type ( osip_authentication_info_t header,
char *  value 
)

Add the auth_type parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::auth_type.

◆ osip_authentication_info_set_cnonce()

void osip_authentication_info_set_cnonce ( osip_authentication_info_t header,
char *  value 
)

Add the cnonce parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::cnonce.

◆ osip_authentication_info_set_nextnonce()

void osip_authentication_info_set_nextnonce ( osip_authentication_info_t header,
char *  value 
)

Add the nextnonce parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::nextnonce.

◆ osip_authentication_info_set_nonce_count()

void osip_authentication_info_set_nonce_count ( osip_authentication_info_t header,
char *  value 
)

Add the nc parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::nonce_count.

◆ osip_authentication_info_set_opaque()

void osip_authentication_info_set_opaque ( osip_authentication_info_t header,
char *  value 
)

Add the opaque parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::opaque.

◆ osip_authentication_info_set_qop_options()

void osip_authentication_info_set_qop_options ( osip_authentication_info_t header,
char *  value 
)

Add the qop_options parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::qop_options.

◆ osip_authentication_info_set_realm()

void osip_authentication_info_set_realm ( osip_authentication_info_t header,
char *  value 
)

Add the realm parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::realm.

◆ osip_authentication_info_set_rspauth()

void osip_authentication_info_set_rspauth ( osip_authentication_info_t header,
char *  value 
)

Add the rspauth parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::rspauth.

◆ osip_authentication_info_set_snum()

void osip_authentication_info_set_snum ( osip_authentication_info_t header,
char *  value 
)

Add the snum parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::snum.

◆ osip_authentication_info_set_srand()

void osip_authentication_info_set_srand ( osip_authentication_info_t header,
char *  value 
)

Add the srand parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::srand.

◆ osip_authentication_info_set_targetname()

void osip_authentication_info_set_targetname ( osip_authentication_info_t header,
char *  value 
)

Add the targetname parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.

References osip_authentication_info::targetname.

◆ osip_authentication_info_to_str()

int osip_authentication_info_to_str ( const osip_authentication_info_t header,
char **  dest 
)