summaryrefslogtreecommitdiff
path: root/pjsip/src/test-pjsip/test.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-10-08 12:39:34 +0000
committerBenny Prijono <bennylp@teluu.com>2006-10-08 12:39:34 +0000
commit36413704c1ff24a8e38e0fcf47c9a9c87621e71a (patch)
tree4393a2f84da0f02f8b1374b0e3ff29d4dce50fb1 /pjsip/src/test-pjsip/test.h
parentb1cdeda73284f461f15c68468369baf7556cb0e3 (diff)
Major addition to support DNS SRV resolution in PJSIP:
- added DNS asynchronous/caching resolver engine in PJLIB-UTIL (resolver.[hc]) - modified SIP resolver (sip_resolve.c) to properly perform DNS SRV/A resolution when DNS resolution is enabled. - added dns_test.c in PJSIP-TEST for testing the SIP resolver. - added nameserver configuration in PJSUA-LIB - added "--nameserver" option in PJSUA. - updated project/Makefiles and doxygen documentation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@753 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip/test.h')
-rw-r--r--pjsip/src/test-pjsip/test.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pjsip/src/test-pjsip/test.h b/pjsip/src/test-pjsip/test.h
index fc0901c1..bc8db5e4 100644
--- a/pjsip/src/test-pjsip/test.h
+++ b/pjsip/src/test-pjsip/test.h
@@ -38,7 +38,7 @@ extern pjsip_endpoint *endpt;
#define INCLUDE_MESSAGING_GROUP 0
#define INCLUDE_TRANSPORT_GROUP 0
-#define INCLUDE_TSX_GROUP 1
+#define INCLUDE_TSX_GROUP 0
/*
* Include tests that normally would fail under certain gcc
@@ -56,6 +56,7 @@ extern pjsip_endpoint *endpt;
#define INCLUDE_UDP_TEST INCLUDE_TRANSPORT_GROUP
#define INCLUDE_LOOP_TEST INCLUDE_TRANSPORT_GROUP
#define INCLUDE_TCP_TEST INCLUDE_TRANSPORT_GROUP
+#define INCLUDE_RESOLVE_TEST 1
#define INCLUDE_TSX_TEST INCLUDE_TSX_GROUP
@@ -69,6 +70,7 @@ int tsx_bench(void);
int transport_udp_test(void);
int transport_loop_test(void);
int transport_tcp_test(void);
+int resolve_test(void);
struct tsx_test_param
{