oSIP accept-language header definition.
[oSIP headers definitions]


Defines

#define osip_accept_language_init(header)   osip_accept_encoding_init(header)
#define osip_accept_language_parse(header, hvalue)   osip_accept_encoding_parse(header, hvalue)
#define osip_accept_language_to_str   osip_accept_encoding_to_str
#define osip_accept_language_free   osip_accept_encoding_free
#define osip_accept_language_clone(header, dest)   osip_accept_encoding_clone(header, dest)
#define osip_accept_language_get_element(header)   osip_accept_encoding_get_element(header)
#define osip_accept_language_set_element(header, value)   osip_accept_encoding_set_element(header, value)
#define osip_accept_language_param_add(header, name, value)   osip_generic_param_add((&(header)->gen_params),name,value)
#define osip_accept_language_param_get_byname(header, name, dest)   osip_generic_param_get_byname((&(header)->gen_params),name,dest)

Typedefs

typedef osip_accept_encoding_t osip_accept_language_t

Define Documentation

#define osip_accept_language_clone ( header,
dest   )     osip_accept_encoding_clone(header, dest)

Clone an Accept-Language element.

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

#define osip_accept_language_free   osip_accept_encoding_free

Free an Accept-Language element.

Parameters:
header The element to work on.

#define osip_accept_language_get_element ( header   )     osip_accept_encoding_get_element(header)

Get the value of an Accept-Language element.

Parameters:
header The element to work on.

#define osip_accept_language_init ( header   )     osip_accept_encoding_init(header)

Allocate an Accept-Language element.

Parameters:
header The element to work on.

#define osip_accept_language_param_add ( header,
name,
value   )     osip_generic_param_add((&(header)->gen_params),name,value)

Allocate and add a generic parameter element in an Accept-Language element.

Parameters:
header The element to work on.
name The token name.
value The token value.

#define osip_accept_language_param_get_byname ( header,
name,
dest   )     osip_generic_param_get_byname((&(header)->gen_params),name,dest)

Find a header parameter in a Accept-Language element.

Parameters:
header The element to work on.
name The token name to search.
dest A pointer on the element found.

#define osip_accept_language_parse ( header,
hvalue   )     osip_accept_encoding_parse(header, hvalue)

Parse an Accept-Language element.

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

#define osip_accept_language_set_element ( header,
value   )     osip_accept_encoding_set_element(header, value)

Set the value of an Accept-Language element.

Parameters:
header The element to work on.
value The value to set.

#define osip_accept_language_to_str   osip_accept_encoding_to_str

Get a string representation of an Accept-Language element.

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


Typedef Documentation

osip_accept_language_t

Structure for Accept-Language headers.


Generated on Wed Feb 13 01:03:29 2008 for libosip by  doxygen 1.5.4