libosip 3.6.0
Defines | Typedefs | Functions

osip_route.h File Reference

oSIP osip_route header definition. More...

#include <osipparser2/headers/osip_from.h>

Go to the source code of this file.

Defines

#define osip_route_clone   osip_from_clone
#define osip_route_set_url(header, url)   osip_from_set_url((osip_from_t*)header,url)
#define osip_route_get_url(header)   osip_from_get_url((osip_from_t*)header)
#define osip_route_param_get(header, pos, dest)   osip_from_param_get((osip_from_t*)header,pos,dest)
#define osip_route_param_add(header, name, value)   osip_generic_param_add((&(header)->gen_params),name,value)
#define osip_route_param_get_byname(header, name, dest)   osip_generic_param_get_byname((&(header)->gen_params),name,dest)

Typedefs

typedef osip_from_t osip_route_t

Functions

int osip_route_init (osip_route_t **header)
void osip_route_free (osip_route_t *header)
int osip_route_parse (osip_route_t *header, const char *hvalue)
int osip_route_to_str (const osip_route_t *header, char **dest)

Detailed Description

oSIP osip_route header definition.