Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

oSIP www-authenticate header definition.
[oSIP headers definitions]


Classes

struct osip_www_authenticate
struct osip_www_authenticate

Defines

#define osip_www_authenticate_set_stale_true(header) osip_www_authenticate_set_stale(header,osip_strdup("true"))
#define osip_www_authenticate_set_stale_false(header) osip_www_authenticate_set_stale(header,osip_strdup("false"))
#define osip_www_authenticate_set_algorithm_MD5(header) osip_www_authenticate_set_algorithm(header,osip_strdup("MD5"))

Typedefs

typedef osip_www_authenticate osip_www_authenticate_t

Functions

int osip_www_authenticate_init (osip_www_authenticate_t **header)
int osip_www_authenticate_parse (osip_www_authenticate_t *header, const char *hvalue)
int osip_www_authenticate_to_str (const osip_www_authenticate_t *header, char **dest)
void osip_www_authenticate_free (osip_www_authenticate_t *header)
int osip_www_authenticate_clone (const osip_www_authenticate_t *header, osip_www_authenticate_t **dest)
char * osip_www_authenticate_get_auth_type (osip_www_authenticate_t *header)
void osip_www_authenticate_set_auth_type (osip_www_authenticate_t *header, char *value)
char * osip_www_authenticate_get_realm (osip_www_authenticate_t *header)
void osip_www_authenticate_set_realm (osip_www_authenticate_t *header, char *value)
char * osip_www_authenticate_get_domain (osip_www_authenticate_t *header)
void osip_www_authenticate_set_domain (osip_www_authenticate_t *header, char *value)
char * osip_www_authenticate_get_nonce (osip_www_authenticate_t *header)
void osip_www_authenticate_set_nonce (osip_www_authenticate_t *header, char *value)
char * osip_www_authenticate_get_opaque (osip_www_authenticate_t *header)
void osip_www_authenticate_set_opaque (osip_www_authenticate_t *header, char *value)
char * osip_www_authenticate_get_stale (osip_www_authenticate_t *header)
void osip_www_authenticate_set_stale (osip_www_authenticate_t *header, char *value)
char * osip_www_authenticate_get_algorithm (osip_www_authenticate_t *header)
void osip_www_authenticate_set_algorithm (osip_www_authenticate_t *header, char *value)
char * osip_www_authenticate_get_qop_options (osip_www_authenticate_t *header)
void osip_www_authenticate_set_qop_options (osip_www_authenticate_t *header, char *value)

Define Documentation

#define osip_www_authenticate_set_algorithm_MD5 ( header ) osip_www_authenticate_set_algorithm(header,osip_strdup("MD5"))

Add the algorithm parameter set to "MD5" in a Www-Authenticate element.

Parameters:
header The element to work on.

#define osip_www_authenticate_set_stale_false ( header ) osip_www_authenticate_set_stale(header,osip_strdup("false"))

Add a stale parameter set to "false" in a Www-Authenticate element.

Parameters:
header The element to work on.

#define osip_www_authenticate_set_stale_true ( header ) osip_www_authenticate_set_stale(header,osip_strdup("true"))

Add a stale parameter set to "true" in a Www-Authenticate element.

Parameters:
header The element to work on.

Typedef Documentation

Structure for WWW-Authenticate headers.


Function Documentation

int osip_www_authenticate_clone ( const osip_www_authenticate_t * header,
)

Clone a Www-Authenticate element.

Parameters:
header The element to work on.
dest A pointer on the copy of the element.

void osip_www_authenticate_free ( osip_www_authenticate_t * header )

Free a Www-Authenticate element.

Parameters:
header The element to work on.

char* osip_www_authenticate_get_algorithm ( osip_www_authenticate_t * header )

Get value of the algorithm parameter from a Www-Authenticate element.

Parameters:
header The element to work on.

char* osip_www_authenticate_get_auth_type ( osip_www_authenticate_t * header )

Get value of the auth_type parameter from a Www-Authenticate element.

Parameters:
header The element to work on.

char* osip_www_authenticate_get_domain ( osip_www_authenticate_t * header )

Get value of the domain parameter from a Www-Authenticate element.

Parameters:
header The element to work on.

char* osip_www_authenticate_get_nonce ( osip_www_authenticate_t * header )

Get value of the nonce parameter from a Www-Authenticate element.

Parameters:
header The element to work on.

char* osip_www_authenticate_get_opaque ( osip_www_authenticate_t * header )

Get value of the opaque parameter from a Www-Authenticate element.

Parameters:
header The element to work on.

char* osip_www_authenticate_get_qop_options ( osip_www_authenticate_t * header )

Get value of the qop_options parameter from a Www-Authenticate element.

Parameters:
header The element to work on.

char* osip_www_authenticate_get_realm ( osip_www_authenticate_t * header )

Get value of the realm parameter from a Www-Authenticate element.

Parameters:
header The element to work on.

char* osip_www_authenticate_get_stale ( osip_www_authenticate_t * header )

Get value of the stale parameter from a Www-Authenticate element.

Parameters:
header The element to work on.

int osip_www_authenticate_init ( osip_www_authenticate_t ** header )

Allocate a Www-Authenticate element.

Parameters:
header The element to work on.

int osip_www_authenticate_parse ( osip_www_authenticate_t * header,
const char * hvalue
)

Parse a Www-Authenticate element.

Parameters:
header The element to work on.
hvalue The string to parse.

void osip_www_authenticate_set_algorithm ( osip_www_authenticate_t * header,
char * value
)

Add the algorithm parameter in a Www-Authenticate element.

Parameters:
header The element to work on.
value The value of the new parameter.

void osip_www_authenticate_set_auth_type ( osip_www_authenticate_t * header,
char * value
)

Add the auth_type parameter from a Www-Authenticate element.

Parameters:
header The element to work on.
value The value of the new parameter.

void osip_www_authenticate_set_domain ( osip_www_authenticate_t * header,
char * value
)

Add the domain parameter from a Www-Authenticate element.

Parameters:
header The element to work on.
value The value of the new parameter.

void osip_www_authenticate_set_nonce ( osip_www_authenticate_t * header,
char * value
)

Add the nonce parameter from a Www-Authenticate element.

Parameters:
header The element to work on.
value The value of the new parameter.

void osip_www_authenticate_set_opaque ( osip_www_authenticate_t * header,
char * value
)

Add the opaque parameter from a Www-Authenticate element.

Parameters:
header The element to work on.
value The value of the new parameter.

void osip_www_authenticate_set_qop_options ( osip_www_authenticate_t * header,
char * value
)

Add the qop_options parameter from a Www-Authenticate element.

Parameters:
header The element to work on.
value The value of the new parameter.

void osip_www_authenticate_set_realm ( osip_www_authenticate_t * header,
char * value
)

Add the realm parameter from a Www-Authenticate element.

Parameters:
header The element to work on.
value The value of the new parameter.

void osip_www_authenticate_set_stale ( osip_www_authenticate_t * header,
char * value
)

Add the stale parameter in a Www-Authenticate element.

Parameters:
header The element to work on.
value The value of the new parameter.

int osip_www_authenticate_to_str ( const osip_www_authenticate_t * header,
char ** dest
)

Get a string representation of a Www-Authenticate element.

Parameters:
header The element to work on.
dest A pointer on the new allocated string.

Generated on Tue Feb 22 00:59:48 2005 for libosip by doxygen 1.4.1

AltStyle によって変換されたページ (->オリジナル) /