SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Typedefs | Functions
oSIP call-info header definition.
Collaboration diagram for oSIP call-info header definition.:

Data Structures

struct  osip_call_info
 Definition of the Call-Info header. More...
 

Typedefs

typedef struct osip_call_info osip_call_info_t
 Structure for Call-Info headers. More...
 

Functions

int osip_call_info_init (osip_call_info_t **header)
 Allocate a Call-Info element. More...
 
void osip_call_info_free (osip_call_info_t *header)
 Free a Call-Info element. More...
 
int osip_call_info_parse (osip_call_info_t *header, const char *hvalue)
 Parse a Call-Info element. More...
 
int osip_call_info_to_str (const osip_call_info_t *header, char **dest)
 Get a string representation of a Call-Info element. More...
 
int osip_call_info_clone (const osip_call_info_t *header, osip_call_info_t **dest)
 Clone a Call-Info element. More...
 
char * osip_call_info_get_uri (osip_call_info_t *header)
 Get the uri from a Call_Info header. More...
 
void osip_call_info_set_uri (osip_call_info_t *header, char *uri)
 Set the uri in the Call_Info element. More...
 

Detailed Description

Typedef Documentation

#include <osip_call_info.h>

Structure for Call-Info headers.

Definition at line 41 of file osip_call_info.h.

Function Documentation

int osip_call_info_clone ( const osip_call_info_t header,
osip_call_info_t **  dest 
)

#include <osip_call_info.h>

Clone a Call-Info element.

Parameters
headerThe element to work on.
destA pointer on the copy of the element.
void osip_call_info_free ( osip_call_info_t header)

#include <osip_call_info.h>

Free a Call-Info element.

Parameters
headerThe element to work on.
char* osip_call_info_get_uri ( osip_call_info_t header)

#include <osip_call_info.h>

Get the uri from a Call_Info header.

Parameters
headerThe element to work on.
int osip_call_info_init ( osip_call_info_t **  header)

#include <osip_call_info.h>

Allocate a Call-Info element.

Parameters
headerThe element to work on.
int osip_call_info_parse ( osip_call_info_t header,
const char *  hvalue 
)

#include <osip_call_info.h>

Parse a Call-Info element.

Parameters
headerThe element to work on.
hvalueThe string to parse.
void osip_call_info_set_uri ( osip_call_info_t header,
char *  uri 
)

#include <osip_call_info.h>

Set the uri in the Call_Info element.

Parameters
headerThe element to work on.
uriThe value of the element.
int osip_call_info_to_str ( const osip_call_info_t header,
char **  dest 
)

#include <osip_call_info.h>

Get a string representation of a Call-Info element.

Parameters
headerThe element to work on.
destA pointer on the new allocated string.