SIP Witch 1.9.15
|
Data Structures | |
struct | osip_cseq |
Definition of the CSeq header. More... | |
Typedefs | |
typedef struct osip_cseq | osip_cseq_t |
Structure for CSeq headers. More... | |
Functions | |
int | osip_cseq_init (osip_cseq_t **header) |
Allocate a CSeq element. More... | |
void | osip_cseq_free (osip_cseq_t *header) |
Free a CSeq element. More... | |
int | osip_cseq_parse (osip_cseq_t *header, const char *hvalue) |
Parse a CSeq element. More... | |
int | osip_cseq_to_str (const osip_cseq_t *header, char **dest) |
Get a string representation of a CSeq element. More... | |
int | osip_cseq_clone (const osip_cseq_t *header, osip_cseq_t **dest) |
Clone a CSeq element. More... | |
void | osip_cseq_set_number (osip_cseq_t *header, char *value) |
Set the number in the CSeq element. More... | |
char * | osip_cseq_get_number (osip_cseq_t *header) |
Get the number from a CSeq header. More... | |
void | osip_cseq_set_method (osip_cseq_t *header, char *value) |
Set the method in the CSeq element. More... | |
char * | osip_cseq_get_method (osip_cseq_t *header) |
Get the method from a CSeq header. More... | |
int | osip_cseq_match (osip_cseq_t *cseq1, osip_cseq_t *cseq2) |
Check if the CSeq headers match. More... | |
int osip_cseq_clone | ( | const osip_cseq_t * | header, |
osip_cseq_t ** | dest | ||
) |
#include <osip_cseq.h>
Clone a CSeq element.
header | The element to work on. |
dest | A pointer on the copy of the element. |
void osip_cseq_free | ( | osip_cseq_t * | header | ) |
char* osip_cseq_get_method | ( | osip_cseq_t * | header | ) |
char* osip_cseq_get_number | ( | osip_cseq_t * | header | ) |
int osip_cseq_init | ( | osip_cseq_t ** | header | ) |
int osip_cseq_match | ( | osip_cseq_t * | cseq1, |
osip_cseq_t * | cseq2 | ||
) |
#include <osip_cseq.h>
Check if the CSeq headers match.
NOTE: THIS IS AN INTERNAL METHOD ONLY
cseq1 | The initial CSeq header. |
cseq2 | The new CSeq header. |
int osip_cseq_parse | ( | osip_cseq_t * | header, |
const char * | hvalue | ||
) |
#include <osip_cseq.h>
Parse a CSeq element.
header | The element to work on. |
hvalue | The string to parse. |
void osip_cseq_set_method | ( | osip_cseq_t * | header, |
char * | value | ||
) |
#include <osip_cseq.h>
Set the method in the CSeq element.
header | The element to work on. |
value | The value of the element. |
void osip_cseq_set_number | ( | osip_cseq_t * | header, |
char * | value | ||
) |
#include <osip_cseq.h>
Set the number in the CSeq element.
header | The element to work on. |
value | The value of the element. |
int osip_cseq_to_str | ( | const osip_cseq_t * | header, |
char ** | dest | ||
) |
#include <osip_cseq.h>
Get a string representation of a CSeq element.
header | The element to work on. |
dest | A pointer on the new allocated string. |