21 #ifndef _OSIP_RECORD_ROUTE_H_
22 #define _OSIP_RECORD_ROUTE_H_
76 #define osip_record_route_clone osip_from_clone
78 #define osip_record_route_init osip_from_init
79 #define osip_record_route_free osip_from_free
80 #define osip_record_route_parse osip_from_parse
81 #define osip_record_route_to_str osip_from_to_str
82 #define osip_record_route_clone osip_from_clone
89 #define osip_record_route_set_url(header,url) osip_from_set_url((osip_from_t*)header,url)
94 #define osip_record_route_get_url(header) osip_from_get_url((osip_from_t*)header)
101 #define osip_record_route_param_get(header,pos,dest) osip_from_param_get((osip_from_t*)header,pos,dest)
108 #define osip_record_route_param_add(header,name,value) osip_generic_param_add((&(header)->gen_params),name,value)
115 #define osip_record_route_param_get_byname(header,name,dest) osip_generic_param_get_byname((&(header)->gen_params),name,dest)
int osip_record_route_to_str(const osip_record_route_t *header, char **dest)
Get a string representation of a Record-Route element.
int osip_record_route_parse(osip_record_route_t *header, const char *hvalue)
Parse a Record-Route element.
osip_from_t osip_record_route_t
Structure for Record-Route headers.
oSIP osip_from header definition.
Definition of the From header.
int osip_record_route_init(osip_record_route_t **header)
Allocate a Record-Route element.
void osip_record_route_free(osip_record_route_t *header)
Free a Record-Route element.