|
SIP Witch 1.9.15
|
|
Macros | |
| #define | osip_record_route_clone osip_from_clone |
| Clone a Record-Route element. More... | |
| #define | osip_record_route_set_url(header, url) osip_from_set_url((osip_from_t*)header,url) |
| Set the url in the Record-Route element. More... | |
| #define | osip_record_route_get_url(header) osip_from_get_url((osip_from_t*)header) |
| Get the url from a Record-Route header. More... | |
| #define | osip_record_route_param_get(header, pos, dest) osip_from_param_get((osip_from_t*)header,pos,dest) |
| Get a header parameter from a Record-Route element. More... | |
| #define | osip_record_route_param_add(header, name, value) osip_generic_param_add((&(header)->gen_params),name,value) |
| Allocate and add a generic parameter element in a list. More... | |
| #define | osip_record_route_param_get_byname(header, name, dest) osip_generic_param_get_byname((&(header)->gen_params),name,dest) |
| Find a header parameter in a Record-Route element. More... | |
Typedefs | |
| typedef osip_from_t | osip_record_route_t |
| Structure for Record-Route headers. More... | |
Functions | |
| int | osip_record_route_init (osip_record_route_t **header) |
| Allocate a Record-Route element. More... | |
| void | osip_record_route_free (osip_record_route_t *header) |
| Free a Record-Route element. More... | |
| int | osip_record_route_parse (osip_record_route_t *header, const char *hvalue) |
| Parse a Record-Route element. More... | |
| int | osip_record_route_to_str (const osip_record_route_t *header, char **dest) |
| Get a string representation of a Record-Route element. More... | |
| #define osip_record_route_clone osip_from_clone |
#include <osip_record_route.h>
Clone a Record-Route element.
| header | The element to work on. |
| dest | A pointer on the copy of the element. |
Definition at line 76 of file osip_record_route.h.
| #define osip_record_route_get_url | ( | header | ) | osip_from_get_url((osip_from_t*)header) |
#include <osip_record_route.h>
Get the url from a Record-Route header.
| header | The element to work on. |
Definition at line 94 of file osip_record_route.h.
| #define osip_record_route_param_add | ( | header, | |
| name, | |||
| value | |||
| ) | osip_generic_param_add((&(header)->gen_params),name,value) |
#include <osip_record_route.h>
Allocate and add a generic parameter element in a list.
| header | The element to work on. |
| name | The token name. |
| value | The token value. |
Definition at line 108 of file osip_record_route.h.
| #define osip_record_route_param_get | ( | header, | |
| pos, | |||
| dest | |||
| ) | osip_from_param_get((osip_from_t*)header,pos,dest) |
#include <osip_record_route.h>
Get a header parameter from a Record-Route element.
| header | The element to work on. |
| pos | The index of the element to get. |
| dest | A pointer on the element found. |
Definition at line 101 of file osip_record_route.h.
| #define osip_record_route_param_get_byname | ( | header, | |
| name, | |||
| dest | |||
| ) | osip_generic_param_get_byname((&(header)->gen_params),name,dest) |
#include <osip_record_route.h>
Find a header parameter in a Record-Route element.
| header | The element to work on. |
| name | The token name to search. |
| dest | A pointer on the element found. |
Definition at line 115 of file osip_record_route.h.
| #define osip_record_route_set_url | ( | header, | |
| url | |||
| ) | osip_from_set_url((osip_from_t*)header,url) |
#include <osip_record_route.h>
Set the url in the Record-Route element.
| header | The element to work on. |
| url | The value of the element. |
Definition at line 89 of file osip_record_route.h.
#include <osip_record_route.h>
Structure for Record-Route headers.
Definition at line 41 of file osip_record_route.h.
| void osip_record_route_free | ( | osip_record_route_t * | header | ) |
#include <osip_record_route.h>
Free a Record-Route element.
| header | The element to work on. |
| int osip_record_route_init | ( | osip_record_route_t ** | header | ) |
#include <osip_record_route.h>
Allocate a Record-Route element.
| header | The element to work on. |
| int osip_record_route_parse | ( | osip_record_route_t * | header, |
| const char * | hvalue | ||
| ) |
#include <osip_record_route.h>
Parse a Record-Route element.
| header | The element to work on. |
| hvalue | The string to parse. |
| int osip_record_route_to_str | ( | const osip_record_route_t * | header, |
| char ** | dest | ||
| ) |
#include <osip_record_route.h>
Get a string representation of a Record-Route element.
| header | The element to work on. |
| dest | A pointer on the new allocated string. |
1.8.6