21 #ifndef _OSIP_RECORD_H_
22 #define _OSIP_RECORD_H_
76 #define osip_route_clone osip_from_clone
78 #define osip_route_init osip_from_init
79 #define osip_route_free osip_from_free
80 #define osip_route_parse osip_from_parse
81 #define osip_route_to_str osip_from_to_str
82 #define osip_route_clone osip_from_clone
89 #define osip_route_set_url(header,url) osip_from_set_url((osip_from_t*)header,url)
94 #define osip_route_get_url(header) osip_from_get_url((osip_from_t*)header)
101 #define osip_route_param_get(header,pos,dest) osip_from_param_get((osip_from_t*)header,pos,dest)
108 #define osip_route_param_add(header,name,value) osip_generic_param_add((&(header)->gen_params),name,value)
115 #define osip_route_param_get_byname(header,name,dest) osip_generic_param_get_byname((&(header)->gen_params),name,dest)
int osip_route_init(osip_route_t **header)
Allocate a Route element.
osip_from_t osip_route_t
Structure for Route headers.
void osip_route_free(osip_route_t *header)
Free a Route element.
int osip_route_to_str(const osip_route_t *header, char **dest)
Get a string representation of a Route element.
oSIP osip_from header definition.
Definition of the From header.
int osip_route_parse(osip_route_t *header, const char *hvalue)
Parse a Route element.