SIP Witch 1.9.15
|
Macros | |
#define | accept_init(header) osip_content_type_init(header) |
Allocate an Accept element. More... | |
#define | osip_accept_free osip_content_type_free |
Free an Accept element. More... | |
#define | osip_accept_parse(header, hvalue) osip_content_type_parse(header, hvalue) |
Parse an Accept element. More... | |
#define | osip_accept_clone osip_content_type_clone |
Clone an Accept element. More... | |
#define | osip_accept_param_add(header, name, value) osip_generic_param_add((&(header)->gen_params),name,value) |
Allocate and add a header parameter in an Accept element. More... | |
#define | osip_accept_param_get_byname(header, name, dest) osip_generic_param_get_byname((&(header)->gen_params),name,dest) |
Find a header parameter in an Accept element. More... | |
Typedefs | |
typedef osip_content_type_t | osip_accept_t |
Structure for accept headers. More... | |
Functions | |
int | osip_accept_to_str (const osip_accept_t *header, char **dest) |
Get a string representation of an Accept element. More... | |
#define accept_init | ( | header | ) | osip_content_type_init(header) |
#include <osip_accept.h>
Allocate an Accept element.
header | The element to work on. |
Definition at line 53 of file osip_accept.h.
#define osip_accept_clone osip_content_type_clone |
#include <osip_accept.h>
Clone an Accept element.
header | The element to work on. |
dest | A pointer on the copy of the element. |
Definition at line 76 of file osip_accept.h.
#define osip_accept_free osip_content_type_free |
#include <osip_accept.h>
Free an Accept element.
header | The element to work on. |
Definition at line 58 of file osip_accept.h.
#define osip_accept_param_add | ( | header, | |
name, | |||
value | |||
) | osip_generic_param_add((&(header)->gen_params),name,value) |
#include <osip_accept.h>
Allocate and add a header parameter in an Accept element.
header | The element to work on. |
name | The token name. |
value | The token value. |
Definition at line 83 of file osip_accept.h.
#define osip_accept_param_get_byname | ( | header, | |
name, | |||
dest | |||
) | osip_generic_param_get_byname((&(header)->gen_params),name,dest) |
#include <osip_accept.h>
Find a header parameter in an Accept element.
header | The element to work on. |
name | The token name to search. |
dest | A pointer on the element found. |
Definition at line 90 of file osip_accept.h.
#define osip_accept_parse | ( | header, | |
hvalue | |||
) | osip_content_type_parse(header, hvalue) |
#include <osip_accept.h>
Parse an Accept element.
header | The element to work on. |
hvalue | The string to parse. |
Definition at line 64 of file osip_accept.h.
int osip_accept_to_str | ( | const osip_accept_t * | header, |
char ** | dest | ||
) |
#include <osip_accept.h>
Get a string representation of an Accept element.
header | The element to work on. |
dest | A pointer on the new allocated string. |