Collaboration diagram for oSIP to header definition.:
Macros
Set the displayname in the To element.
More...
Get the displayname from a To header.
More...
Set the url in the To element.
More...
Get the url from a To header.
More...
Get a header parameter from a To element.
More...
Find a header parameter in a To element.
More...
Allocate and add a generic parameter element in a list.
More...
Allocate and add a tag parameter element in a list.
More...
Find a tag parameter in a To element.
More...
Typedefs
Functions
Get a string representation of a To element.
More...
Check if the tags in the To headers match.
More...
Detailed Description
Macro Definition Documentation
#define osip_to_compare
(
header1,
header2
#include <osip_to.h>
Get the displayname from a To header.
- Parameters
-
header The element to work on.
Definition at line 102 of file osip_to.h.
#define osip_to_get_tag
(
header,
dest
#include <osip_to.h>
Find a tag parameter in a To element.
- Parameters
-
header The element to work on.
dest A pointer on the element found.
Definition at line 147 of file osip_to.h.
#include <osip_to.h>
Get the url from a To header.
- Parameters
-
header The element to work on.
Definition at line 113 of file osip_to.h.
#define osip_to_param_add
(
header,
#include <osip_to.h>
Allocate and add a generic parameter element in a list.
- Parameters
-
header The element to work on.
name The token name.
value The token value.
Definition at line 134 of file osip_to.h.
#define osip_to_param_get
(
header,
pos,
dest
#include <osip_to.h>
Get a header parameter from a To element.
- Parameters
-
header The element to work on.
pos The index of the element to get.
dest A pointer on the element found.
Definition at line 120 of file osip_to.h.
#define osip_to_param_get_byname
(
header,
dest
#include <osip_to.h>
Find a header parameter in a To element.
- Parameters
-
header The element to work on.
name The token name to search.
dest A pointer on the element found.
Definition at line 127 of file osip_to.h.
#define osip_to_set_displayname
(
header,
#include <osip_to.h>
Set the displayname in the To element.
- Parameters
-
header The element to work on.
value The value of the element.
Definition at line 97 of file osip_to.h.
#define osip_to_set_tag
(
header,
#include <osip_to.h>
Allocate and add a tag parameter element in a list.
- Parameters
-
header The element to work on.
value The token value.
Definition at line 141 of file osip_to.h.
#define osip_to_set_url
(
header,
url
#include <osip_to.h>
Set the url in the To element.
- Parameters
-
header The element to work on.
url The value of the element.
Definition at line 108 of file osip_to.h.
Typedef Documentation
Function Documentation
int osip_to_clone
(
const
osip_to_t *
header,
)
#include <osip_to.h>
Clone a To element.
- Parameters
-
header The element to work on.
dest A pointer on the copy of the element.
#include <osip_to.h>
Free a To element.
- Parameters
-
header The element to work on.
#include <osip_to.h>
Allocate a To element.
- Parameters
-
header The element to work on.
#include <osip_to.h>
Parse a To element.
- Parameters
-
header The element to work on.
hvalue The string to parse.
#include <osip_to.h>
Check if the tags in the To headers match.
NOTE: THIS IS AN INTERNAL METHOD ONLY
- Parameters
-
to1 The first To header.
to2 The second To header.
int osip_to_to_str
(
const
osip_to_t *
header,
char **
dest
)
#include <osip_to.h>
Get a string representation of a To element.
- Parameters
-
header The element to work on.
dest A pointer on the new allocated string.