Typedefs |
typedef enum _LinphoneTransportType | LinphoneTransportType |
typedef struct SalAddress | LinphoneAddress |
Enumerations |
enum | _LinphoneTransportType {
LinphoneTransportUdp,
LinphoneTransportTcp,
LinphoneTransportTls,
LinphoneTransportDtls
} |
Functions |
LinphoneAddress * | linphone_address_new (const char *addr) |
LinphoneAddress * | linphone_address_clone (const LinphoneAddress *addr) |
LinphoneAddress * | linphone_address_ref (LinphoneAddress *addr) |
void | linphone_address_unref (LinphoneAddress *addr) |
const char * | linphone_address_get_scheme (const LinphoneAddress *u) |
const char * | linphone_address_get_display_name (const LinphoneAddress *u) |
const char * | linphone_address_get_username (const LinphoneAddress *u) |
const char * | linphone_address_get_domain (const LinphoneAddress *u) |
int | linphone_address_set_display_name (LinphoneAddress *u, const char *display_name) |
int | linphone_address_set_username (LinphoneAddress *uri, const char *username) |
int | linphone_address_set_domain (LinphoneAddress *uri, const char *host) |
int | linphone_address_set_port (LinphoneAddress *uri, int port) |
int | linphone_address_set_transport (LinphoneAddress *uri, LinphoneTransportType tp) |
LinphoneTransportType | linphone_address_get_transport (const LinphoneAddress *uri) |
void | linphone_address_set_method_param (LinphoneAddress *addr, const char *method) |
const char * | linphone_address_get_method_param (const LinphoneAddress *addr) |
void | linphone_address_clean (LinphoneAddress *uri) |
char * | linphone_address_as_string (const LinphoneAddress *u) |
char * | linphone_address_as_string_uri_only (const LinphoneAddress *u) |
bool_t | linphone_address_is_secure (const LinphoneAddress *uri) |
bool_t | linphone_address_get_secure (const LinphoneAddress *uri) |
void | linphone_address_set_secure (LinphoneAddress *addr, bool_t enabled) |
bool_t | linphone_address_is_sip (const LinphoneAddress *uri) |
bool_t | linphone_address_weak_equal (const LinphoneAddress *a1, const LinphoneAddress *a2) |
bool_t | linphone_address_equal (const LinphoneAddress *a1, const LinphoneAddress *a2) |
void | linphone_address_destroy (LinphoneAddress *u) |
int | linphone_address_get_port (const LinphoneAddress *u) |
void | linphone_address_set_password (LinphoneAddress *addr, const char *passwd) |
const char * | linphone_address_get_password (const LinphoneAddress *addr) |
void | linphone_address_set_header (LinphoneAddress *addr, const char *header_name, const char *header_value) |
LinphoneAddress * | linphone_core_create_address (LinphoneCore *lc, const char *address) |
This api is useful for manipulating SIP addresses ('from' or 'to' headers).
Object that represents a SIP address.
The LinphoneAddress is an opaque object to represents SIP addresses, ie the content of SIP's 'from' and 'to' headers. A SIP address is made of display name, username, domain name, port, and various uri headers (such as tags). It looks like 'Alice <sip:alice@example.net>'. The LinphoneAddress has methods to extract and manipulate all parts of the address. When some part of the address (for example the username) is empty, the accessor methods return NULL.