SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Typedefs | Functions
oSIP authentication-info header definition.
Collaboration diagram for oSIP authentication-info header definition.:

Data Structures

struct  osip_authentication_info
 Definition of the Authentication-Info header. More...
 

Typedefs

typedef struct
osip_authentication_info 
osip_authentication_info_t
 Structure for Authentication-Info headers. More...
 

Functions

int osip_authentication_info_init (osip_authentication_info_t **header)
 Allocate a Authenication-Info element. More...
 
int osip_authentication_info_parse (osip_authentication_info_t *header, const char *hvalue)
 Parse a Authenication-Info element. More...
 
int osip_authentication_info_to_str (const osip_authentication_info_t *header, char **dest)
 Get a string representation of a Authenication-Info element. More...
 
void osip_authentication_info_free (osip_authentication_info_t *header)
 Free a Authenication-Info element. More...
 
int osip_authentication_info_clone (const osip_authentication_info_t *header, osip_authentication_info_t **dest)
 Clone a Authenication-Info element. More...
 
char * osip_authentication_info_get_auth_type (osip_authentication_info_t *header)
 Get value of the auth_type parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_auth_type (osip_authentication_info_t *header, char *value)
 Add the auth_type parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_nextnonce (osip_authentication_info_t *header)
 Get value of the nextnonce parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_nextnonce (osip_authentication_info_t *header, char *value)
 Add the nextnonce parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_cnonce (osip_authentication_info_t *header)
 Get value of the cnonce parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_cnonce (osip_authentication_info_t *header, char *value)
 Add the cnonce parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_qop_options (osip_authentication_info_t *header)
 Get value of the qop_options parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_qop_options (osip_authentication_info_t *header, char *value)
 Add the qop_options parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_rspauth (osip_authentication_info_t *header)
 Get value of the rspauth parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_rspauth (osip_authentication_info_t *header, char *value)
 Add the rspauth parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_nonce_count (osip_authentication_info_t *header)
 Get value of the nc parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_nonce_count (osip_authentication_info_t *header, char *value)
 Add the nc parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_snum (osip_authentication_info_t *header)
 Get value of the snum parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_snum (osip_authentication_info_t *header, char *value)
 Add the snum parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_srand (osip_authentication_info_t *header)
 Get value of the srand parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_srand (osip_authentication_info_t *header, char *value)
 Add the srand parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_targetname (osip_authentication_info_t *header)
 Get value of the targetname parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_targetname (osip_authentication_info_t *header, char *value)
 Add the targetname parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_realm (osip_authentication_info_t *header)
 Get value of the realm parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_realm (osip_authentication_info_t *header, char *value)
 Add the realm parameter from a Authenication-Info element. More...
 
char * osip_authentication_info_get_opaque (osip_authentication_info_t *header)
 Get value of the opaque parameter from a Authenication-Info element. More...
 
void osip_authentication_info_set_opaque (osip_authentication_info_t *header, char *value)
 Add the opaque parameter from a Authenication-Info element. More...
 

Detailed Description

Typedef Documentation

#include <osip_authentication_info.h>

Structure for Authentication-Info headers.

Definition at line 40 of file osip_authentication_info.h.

Function Documentation

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

#include <osip_authentication_info.h>

Clone a Authenication-Info element.

Parameters
headerThe element to work on.
destA pointer on the copy of the element.
void osip_authentication_info_free ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

Free a Authenication-Info element.

Parameters
headerThe element to work on.
char* osip_authentication_info_get_auth_type ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_cnonce ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_nextnonce ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_nonce_count ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_opaque ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_qop_options ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_realm ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_rspauth ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_snum ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_srand ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
char* osip_authentication_info_get_targetname ( osip_authentication_info_t header)

#include <osip_authentication_info.h>

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

Parameters
headerThe element to work on.
int osip_authentication_info_init ( osip_authentication_info_t **  header)

#include <osip_authentication_info.h>

Allocate a Authenication-Info element.

Parameters
headerThe element to work on.
int osip_authentication_info_parse ( osip_authentication_info_t header,
const char *  hvalue 
)

#include <osip_authentication_info.h>

Parse a Authenication-Info element.

Parameters
headerThe element to work on.
hvalueThe string to parse.
void osip_authentication_info_set_auth_type ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the auth_type parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_cnonce ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the cnonce parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_nextnonce ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the nextnonce parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_nonce_count ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the nc parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_opaque ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the opaque parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_qop_options ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the qop_options parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_realm ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the realm parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_rspauth ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the rspauth parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_snum ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the snum parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_srand ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the srand parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
void osip_authentication_info_set_targetname ( osip_authentication_info_t header,
char *  value 
)

#include <osip_authentication_info.h>

Add the targetname parameter from a Authenication-Info element.

Parameters
headerThe element to work on.
valueThe value of the new parameter.
int osip_authentication_info_to_str ( const osip_authentication_info_t header,
char **  dest 
)

#include <osip_authentication_info.h>

Get a string representation of a Authenication-Info element.

Parameters
headerThe element to work on.
destA pointer on the new allocated string.