libosip
5.3.0
|
oSIP url parser Routines More...
Go to the source code of this file.
Classes | |
struct | osip_uri_param |
struct | osip_uri |
Macros | |
#define | osip_uri_header_init(url_header) osip_uri_param_init(url_header) |
#define | osip_uri_header_free(url_header) osip_uri_param_free(url_header) |
#define | osip_uri_header_set(url_header, name, value) osip_uri_param_set(url_header, name, value) |
#define | osip_uri_header_clone(url_header, dest) osip_uri_param_clone(url_header, dest) |
#define | osip_uri_header_add(url_headers, name, value) osip_uri_param_add(url_headers, name, value) |
#define | osip_uri_header_get_byname(url_headers, name, dest) osip_uri_param_get_byname(url_headers, name, dest) |
#define | osip_uri_set_transport_udp(url) osip_uri_param_add((&(url)->url_params), osip_strdup("transport"), osip_strdup("udp")) |
#define | osip_uri_set_transport_tcp(url) osip_uri_param_add((&(url)->url_params), osip_strdup("transport"), osip_strdup("tcp")) |
#define | osip_uri_set_transport_sctp(url) osip_uri_param_add((&(url)->url_params), osip_strdup("transport"), osip_strdup("sctp")) |
#define | osip_uri_set_transport_tls(url) osip_uri_param_add((&(url)->url_params), osip_strdup("transport"), osip_strdup("tls")) |
#define | osip_uri_set_transport(url, value) osip_uri_param_add((&(url)->url_params), osip_strdup("transport"), value) |
#define | osip_uri_set_user_phone(url) osip_uri_param_add((&(url)->url_params), osip_strdup("user"), osip_strdup("phone")) |
#define | osip_uri_set_user_ip(url) osip_uri_param_add((&(url)->url_params), osip_strdup("user"), osip_strdup("ip")) |
#define | osip_uri_set_method_invite(url) osip_uri_param_add((&(url)->url_params), osip_strdup("method"), osip_strdup("INVITE")) |
#define | osip_uri_set_method_ack(url) osip_uri_param_add((&(url)->url_params), osip_strdup("method"), osip_strdup("ACK")) |
#define | osip_uri_set_method_options(url) osip_uri_param_add((&(url)->url_params), osip_strdup("method"), osip_strdup("OPTIONS")) |
#define | osip_uri_set_method_bye(url) osip_uri_param_add((&(url)->url_params), osip_strdup("method"), osip_strdup("BYE")) |
#define | osip_uri_set_method_cancel(url) osip_uri_param_add((&(url)->url_params), osip_strdup("method"), osip_strdup("CANCEL")) |
#define | osip_uri_set_method_register(url) osip_uri_param_add((&(url)->url_params), osip_strdup("method"), osip_strdup("REGISTER")) |
#define | osip_uri_set_method(url, value) osip_uri_param_add((&(url)->url_params), osip_strdup("method"), value) |
#define | osip_uri_set_ttl(url, value) osip_uri_param_add((&(url)->url_params), osip_strdup("ttl"), value) |
#define | osip_uri_set_maddr(url, value) osip_uri_param_add((&(url)->url_params), osip_strdup("maddr"), value) |
#define | osip_uri_uparam_add(url, name, value) osip_uri_param_add((&(url)->url_params), name, value) |
#define | osip_uri_uparam_get_byname(url, name, dest) osip_uri_param_get_byname((&(url)->url_params), name, dest) |
#define | osip_uri_uheader_add(url, name, value) osip_uri_header_add((&(url)->url_headers), name, value) |
#define | osip_uri_uheader_get_byname(url, name, dest) osip_uri_header_get_byname((&(url)->url_headers), name, dest) |
Typedefs | |
typedef struct osip_uri_param | osip_uri_param_t |
typedef osip_uri_param_t | osip_uri_header_t |
typedef struct osip_uri | osip_uri_t |
oSIP url parser Routines
This is the implementation of sip url scheme. It also partially support any unrecognised scheme (not starting with 'sip:' or 'sips:'). Unrecognised scheme are stored in url->string.