21 #ifndef _OSIP_CALL_ID_H_
22 #define _OSIP_CALL_ID_H_
void osip_call_id_free(osip_call_id_t *header)
Free a Call-id element.
char * osip_call_id_get_number(osip_call_id_t *header)
Get the number from a Call-Id header.
char * host
Call-ID host information.
char * number
Call-ID number.
void osip_call_id_set_host(osip_call_id_t *header, char *value)
Set the host in the Call-Id element.
void osip_call_id_set_number(osip_call_id_t *header, char *value)
Set the number in the Call-Id element.
char * osip_call_id_get_host(osip_call_id_t *header)
Get the host from a Call-Id header.
int osip_call_id_clone(const osip_call_id_t *header, osip_call_id_t **dest)
Clone a Call-id element.
int osip_call_id_match(osip_call_id_t *callid1, osip_call_id_t *callid2)
Check if the Call-Id headers match.
int osip_call_id_to_str(const osip_call_id_t *header, char **dest)
Get a string representation of a Call-id element.
Definition of the Call-Id header.
int osip_call_id_parse(osip_call_id_t *header, const char *hvalue)
Parse a Call-id element.
int osip_call_id_init(osip_call_id_t **header)
Allocate a Call-id element.