Collaboration diagram for oSIP from header definition.:
Data Structures
Definition of the From header.
More...
Macros
Allocate and add a generic parameter element in a list.
More...
Find a header parameter in a From element.
More...
Find the tag parameter in a From element.
More...
Allocate and add a tag parameter element in a Contact element.
More...
Typedefs
Structure for From headers.
More...
Functions
Get a string representation of a From element.
More...
Set the displayname in the From element.
More...
Get the displayname from a From header.
More...
Set the url in the From element.
More...
Get the url from a From header.
More...
Get a header parameter from a From element.
More...
Check if the tags in the From headers match.
More...
Detailed Description
Macro Definition Documentation
#define osip_from_get_tag
(
header,
dest
#include <osip_from.h>
Find the tag parameter in a From element.
- Parameters
-
header The element to work on.
dest A pointer on the element found.
Definition at line 137 of file osip_from.h.
#define osip_from_param_add
(
header,
#include <osip_from.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 123 of file osip_from.h.
#define osip_from_param_get_byname
(
header,
dest
#include <osip_from.h>
Find a header parameter in a From element.
- Parameters
-
header The element to work on.
name The token name to search.
dest A pointer on the element found.
Definition at line 130 of file osip_from.h.
#define osip_from_set_tag
(
header,
#include <osip_from.h>
Allocate and add a tag parameter element in a Contact element.
- Parameters
-
header The element to work on.
value The token value.
Definition at line 143 of file osip_from.h.
Typedef Documentation
Function Documentation
#include <osip_from.h>
Clone a From element.
- Parameters
-
header The element to work on.
dest A pointer on the copy of the element.
#include <osip_from.h>
Free a From element.
- Parameters
-
header The element to work on.
char* osip_from_get_displayname
(
osip_from_t *
header )
#include <osip_from.h>
Get the displayname from a From header.
- Parameters
-
header The element to work on.
#include <osip_from.h>
Get the url from a From header.
- Parameters
-
header The element to work on.
#include <osip_from.h>
Allocate a From element.
- Parameters
-
header The element to work on.
#include <osip_from.h>
Get a header parameter from a From element.
- Parameters
-
header The element to work on.
pos The index of the element to get.
dest A pointer on the element found.
#include <osip_from.h>
Parse a From element.
- Parameters
-
header The element to work on.
hvalue The string to parse.
#include <osip_from.h>
Set the displayname in the From element.
- Parameters
-
header The element to work on.
value The value of the element.
#include <osip_from.h>
Set the url in the From element.
- Parameters
-
header The element to work on.
url The value of the element.
#include <osip_from.h>
Check if the tags in the From headers match.
NOTE: THIS IS AN INTERNAL METHOD ONLY
- Parameters
-
from1 The first From header.
from2 The second From header.
#include <osip_from.h>
Get a string representation of a From element.
- Parameters
-
header The element to work on.
dest A pointer on the new allocated string.