83 #define osip_to_init osip_from_init
84 #define osip_to_free osip_from_free
85 #define osip_to_parse osip_from_parse
86 #define osip_to_to_str osip_from_to_str
87 #define osip_to_clone osip_from_clone
88 #define osip_to_tag_match osip_from_tag_match
95 #define osip_to_set_displayname(header, value) osip_from_set_displayname((osip_from_t *) header, value)
100 #define osip_to_get_displayname(header) osip_from_get_displayname((osip_from_t *) header)
106 #define osip_to_set_url(header, url) osip_from_set_url((osip_from_t *) header, url)
111 #define osip_to_get_url(header) osip_from_get_url((osip_from_t *) header)
118 #define osip_to_param_get(header, pos, dest) osip_from_param_get((osip_from_t *) header, pos, dest)
125 #define osip_to_param_get_byname(header, name, dest) osip_generic_param_get_byname((&(header)->gen_params), name, dest)
132 #define osip_to_param_add(header, name, value) osip_generic_param_add((&(header)->gen_params), name, value)
139 #define osip_to_set_tag(header, value) osip_generic_param_add((&(header)->gen_params), osip_strdup("tag"), value)
145 #define osip_to_get_tag(header, dest) osip_generic_param_get_byname((&(header)->gen_params), "tag", dest)
149 #define osip_to_compare(header1, header2) osip_from_compare((osip_from_t *) header1, (osip_from_t *) header2)
int osip_to_parse(osip_to_t *header, const char *hvalue)
Definition: osip_to.c:72
int osip_to_init(osip_to_t **header)
Definition: osip_to.c:26
osip_from_t osip_to_t
Definition: osip_to.h:40
int osip_to_to_str(const osip_to_t *header, char **dest)
Definition: osip_to.c:79
int osip_to_clone(const osip_to_t *header, osip_to_t **dest)
Definition: osip_to.c:89
void osip_to_free(osip_to_t *header)
Definition: osip_to.c:85
int osip_to_tag_match(osip_to_t *to1, osip_to_t *to2)
Definition: osip_to.c:93
oSIP osip_from header definition.
Definition: osip_from.h:47