libosip
5.3.0
|
Macros | |
#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 osip_accept_encoding_clone |
#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 osip_accept_language_clone osip_accept_encoding_clone |
Clone an Accept-Language element.
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.
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.
header | The element to work on. |
#define osip_accept_language_init | ( | header | ) | osip_accept_encoding_init(header) |
Allocate an Accept-Language element.
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.
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.
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.
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.
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.
header | The element to work on. |
dest | A pointer on the new allocated string. |
Structure for Accept-Language headers.