SIP Witch 1.9.15
|
Macros | |
#define | osip_accept_language_init(header) osip_accept_encoding_init(header) |
Allocate an Accept-Language element. More... | |
#define | osip_accept_language_parse(header, hvalue) osip_accept_encoding_parse(header, hvalue) |
Parse an Accept-Language element. More... | |
#define | osip_accept_language_to_str osip_accept_encoding_to_str |
Get a string representation of an Accept-Language element. More... | |
#define | osip_accept_language_free osip_accept_encoding_free |
Free an Accept-Language element. More... | |
#define | osip_accept_language_clone osip_accept_encoding_clone |
Clone an Accept-Language element. More... | |
#define | osip_accept_language_get_element(header) osip_accept_encoding_get_element(header) |
Get the value of an Accept-Language element. More... | |
#define | osip_accept_language_set_element(header, value) osip_accept_encoding_set_element(header, value) |
Set the value of an Accept-Language element. More... | |
#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. More... | |
#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. More... | |
Typedefs | |
typedef osip_accept_encoding_t | osip_accept_language_t |
Structure for Accept-Language headers. More... | |
#define osip_accept_language_clone osip_accept_encoding_clone |
#include <osip_accept_language.h>
Clone an Accept-Language element.
header | The element to work on. |
dest | A pointer on the copy of the element. |
Definition at line 75 of file osip_accept_language.h.
#define osip_accept_language_free osip_accept_encoding_free |
#include <osip_accept_language.h>
Free an Accept-Language element.
header | The element to work on. |
Definition at line 69 of file osip_accept_language.h.
#define osip_accept_language_get_element | ( | header | ) | osip_accept_encoding_get_element(header) |
#include <osip_accept_language.h>
Get the value of an Accept-Language element.
header | The element to work on. |
Definition at line 81 of file osip_accept_language.h.
#define osip_accept_language_init | ( | header | ) | osip_accept_encoding_init(header) |
#include <osip_accept_language.h>
Allocate an Accept-Language element.
header | The element to work on. |
Definition at line 52 of file osip_accept_language.h.
#define osip_accept_language_param_add | ( | header, | |
name, | |||
value | |||
) | osip_generic_param_add((&(header)->gen_params),name,value) |
#include <osip_accept_language.h>
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. |
Definition at line 94 of file osip_accept_language.h.
#define osip_accept_language_param_get_byname | ( | header, | |
name, | |||
dest | |||
) | osip_generic_param_get_byname((&(header)->gen_params),name,dest) |
#include <osip_accept_language.h>
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. |
Definition at line 101 of file osip_accept_language.h.
#define osip_accept_language_parse | ( | header, | |
hvalue | |||
) | osip_accept_encoding_parse(header, hvalue) |
#include <osip_accept_language.h>
Parse an Accept-Language element.
header | The element to work on. |
hvalue | The string to parse. |
Definition at line 58 of file osip_accept_language.h.
#define osip_accept_language_set_element | ( | header, | |
value | |||
) | osip_accept_encoding_set_element(header, value) |
#include <osip_accept_language.h>
Set the value of an Accept-Language element.
header | The element to work on. |
value | The value to set. |
Definition at line 87 of file osip_accept_language.h.
#define osip_accept_language_to_str osip_accept_encoding_to_str |
#include <osip_accept_language.h>
Get a string representation of an Accept-Language element.
header | The element to work on. |
dest | A pointer on the new allocated string. |
Definition at line 64 of file osip_accept_language.h.
#include <osip_accept_language.h>
Structure for Accept-Language headers.
Definition at line 41 of file osip_accept_language.h.