Commit f2712512 authored by Pekka Pessi's avatar Pekka Pessi

nua/test_proxy.h, nua/test_proxy.c: added support for multiple domains

Each domain has its own registrar and authentication module.

darcs-hash:20070713164733-65a35-4b6603ef64895272c4ac73fe952a54f37ee5f9e9.gz
parent 28395d37
This diff is collapsed.
......@@ -31,6 +31,7 @@
SOFIA_BEGIN_DECLS
struct proxy;
struct domain;
struct proxy *test_proxy_create(su_root_t *, tag_type_t, tag_value_t, ...);
......@@ -38,15 +39,19 @@ void test_proxy_destroy(struct proxy *);
url_t const *test_proxy_uri(struct proxy const *);
void test_proxy_set_expiration(struct proxy *,
sip_time_t min_expires,
sip_time_t expires,
sip_time_t max_expires);
struct domain *test_proxy_add_domain(struct proxy *,
url_t const *domain,
tag_type_t, tag_value_t, ...);
void test_proxy_get_expiration(struct proxy *,
sip_time_t *return_min_expires,
sip_time_t *return_expires,
sip_time_t *return_max_expires);
void test_proxy_domain_set_expiration(struct domain *,
sip_time_t min_expires,
sip_time_t expires,
sip_time_t max_expires);
void test_proxy_domain_get_expiration(struct domain *,
sip_time_t *return_min_expires,
sip_time_t *return_expires,
sip_time_t *return_max_expires);
void test_proxy_set_session_timer(struct proxy *p,
sip_time_t session_expires,
......@@ -56,6 +61,9 @@ void test_proxy_get_session_timer(struct proxy *p,
sip_time_t *return_session_expires,
sip_time_t *return_min_se);
void test_proxy_domain_set_authorize(struct domain *d, int authorize);
void test_proxy_domain_get_authorize(struct domain *d, int *return_authorize);
int test_proxy_close_tports(struct proxy *p);
SOFIA_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment