20 #ifndef _OSIP_RECORD_H_
21 #define _OSIP_RECORD_H_
74 #define osip_route_clone osip_from_clone
76 #define osip_route_init osip_from_init
77 #define osip_route_free osip_from_free
78 #define osip_route_parse osip_from_parse
79 #define osip_route_to_str osip_from_to_str
80 #define osip_route_clone osip_from_clone
87 #define osip_route_set_url(header, url) osip_from_set_url((osip_from_t *) header, url)
92 #define osip_route_get_url(header) osip_from_get_url((osip_from_t *) header)
99 #define osip_route_param_get(header, pos, dest) osip_from_param_get((osip_from_t *) header, pos, dest)
106 #define osip_route_param_add(header, name, value) osip_generic_param_add((&(header)->gen_params), name, value)
113 #define osip_route_param_get_byname(header, name, dest) osip_generic_param_get_byname((&(header)->gen_params), name, dest)
int osip_route_to_str(const osip_route_t *header, char **dest)
Definition: osip_route.c:86
void osip_route_free(osip_route_t *header)
Definition: osip_route.c:94
int osip_route_init(osip_route_t **header)
Definition: osip_route.c:27
int osip_route_parse(osip_route_t *header, const char *hvalue)
Definition: osip_route.c:79
osip_from_t osip_route_t
Definition: osip_route.h:40
oSIP osip_from header definition.
Definition: osip_from.h:47