libosip  4.1.0
Classes | Macros | Typedefs | Functions
osip_from.h File Reference

oSIP osip_from header definition. More...

#include <osipparser2/osip_list.h>
#include <osipparser2/osip_uri.h>

Go to the source code of this file.

Classes

struct  osip_from

Macros

#define osip_from_param_add(header, name, value)   osip_generic_param_add((&(header)->gen_params),name,value)
#define osip_from_param_get_byname(header, name, dest)   osip_generic_param_get_byname((&(header)->gen_params),name,dest)
#define osip_from_get_tag(header, dest)   osip_generic_param_get_byname((&(header)->gen_params), "tag",dest)
#define osip_from_set_tag(header, value)   osip_generic_param_add((&(header)->gen_params), osip_strdup("tag"),value)

Typedefs

typedef struct osip_from osip_from_t

Functions

int osip_from_init (osip_from_t **header)
void osip_from_free (osip_from_t *header)
int osip_from_parse (osip_from_t *header, const char *hvalue)
int osip_from_to_str (const osip_from_t *header, char **dest)
int osip_from_clone (const osip_from_t *header, osip_from_t **dest)
void osip_from_set_displayname (osip_from_t *header, char *value)
char * osip_from_get_displayname (osip_from_t *header)
void osip_from_set_url (osip_from_t *header, osip_uri_t *url)
osip_uri_tosip_from_get_url (osip_from_t *header)
int osip_from_param_get (osip_from_t *header, int pos, osip_generic_param_t **dest)
int osip_from_tag_match (osip_from_t *from1, osip_from_t *from2)

Detailed Description

oSIP osip_from header definition.