libosip 3.6.0
Defines | Typedefs | Functions

osip_to.h File Reference

oSIP osip_to header definition. More...

#include <osipparser2/headers/osip_from.h>

Go to the source code of this file.

Defines

#define osip_to_set_displayname(header, value)   osip_from_set_displayname((osip_from_t*)header,value)
#define osip_to_get_displayname(header)   osip_from_get_displayname((osip_from_t*)header)
#define osip_to_set_url(header, url)   osip_from_set_url((osip_from_t*)header,url)
#define osip_to_get_url(header)   osip_from_get_url((osip_from_t*)header)
#define osip_to_param_get(header, pos, dest)   osip_from_param_get((osip_from_t*)header,pos,dest)
#define osip_to_param_get_byname(header, name, dest)   osip_generic_param_get_byname((&(header)->gen_params),name,dest)
#define osip_to_param_add(header, name, value)   osip_generic_param_add((&(header)->gen_params),name,value)
#define osip_to_set_tag(header, value)   osip_generic_param_add((&(header)->gen_params), osip_strdup("tag"),value)
#define osip_to_get_tag(header, dest)   osip_generic_param_get_byname((&(header)->gen_params), "tag",dest)

Typedefs

typedef osip_from_t osip_to_t

Functions

int osip_to_init (osip_to_t **header)
void osip_to_free (osip_to_t *header)
int osip_to_parse (osip_to_t *header, const char *hvalue)
int osip_to_to_str (const osip_to_t *header, char **dest)
int osip_to_clone (const osip_to_t *header, osip_to_t **dest)
int osip_to_tag_match (osip_to_t *to1, osip_to_t *to2)

Detailed Description

oSIP osip_to header definition.