SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions
osip_route.h File Reference

oSIP osip_route header definition. More...

#include <osipparser2/headers/osip_from.h>
Include dependency graph for osip_route.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define osip_route_clone   osip_from_clone
 Clone a Route element. More...
 
#define osip_route_set_url(header, url)   osip_from_set_url((osip_from_t*)header,url)
 Set the url in the Route element. More...
 
#define osip_route_get_url(header)   osip_from_get_url((osip_from_t*)header)
 Get the url from a Route header. More...
 
#define osip_route_param_get(header, pos, dest)   osip_from_param_get((osip_from_t*)header,pos,dest)
 Get a header parameter from a Route element. More...
 
#define osip_route_param_add(header, name, value)   osip_generic_param_add((&(header)->gen_params),name,value)
 Allocate and add a generic parameter element in a Route element. More...
 
#define osip_route_param_get_byname(header, name, dest)   osip_generic_param_get_byname((&(header)->gen_params),name,dest)
 Find a header parameter in a Route element. More...
 

Typedefs

typedef osip_from_t osip_route_t
 Structure for Route headers. More...
 

Functions

int osip_route_init (osip_route_t **header)
 Allocate a Route element. More...
 
void osip_route_free (osip_route_t *header)
 Free a Route element. More...
 
int osip_route_parse (osip_route_t *header, const char *hvalue)
 Parse a Route element. More...
 
int osip_route_to_str (const osip_route_t *header, char **dest)
 Get a string representation of a Route element. More...
 

Detailed Description

oSIP osip_route header definition.

Definition in file osip_route.h.