summaryrefslogtreecommitdiff
path: root/pjsip/src/test-pjsip/test.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-06 14:28:45 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-06 14:28:45 +0000
commit163c395b2cfc15caf83ab2d46e79246c3909affd (patch)
tree825ec332bd9844fbb7edb24e28ce82097f094e91 /pjsip/src/test-pjsip/test.h
parent5b3433fba0a849002a4c880d0de53fbb560c9e0b (diff)
Set the caching pool workspace size in pjsip-test to 2MB (configurable)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@589 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip/test.h')
-rw-r--r--pjsip/src/test-pjsip/test.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pjsip/src/test-pjsip/test.h b/pjsip/src/test-pjsip/test.h
index 969b341a..b7b79c7d 100644
--- a/pjsip/src/test-pjsip/test.h
+++ b/pjsip/src/test-pjsip/test.h
@@ -26,6 +26,15 @@ extern pjsip_endpoint *endpt;
#define TEST_UDP_PORT 15060
#define TEST_UDP_PORT_STR "15060"
+/**
+ * Memory size to use in caching pool.
+ * Default: 2MB
+ */
+#ifndef PJSIP_TEST_MEM_SIZE
+# define PJSIP_TEST_MEM_SIZE (2*1024*1024)
+#endif
+
+
#define INCLUDE_MESSAGING_GROUP 1
#define INCLUDE_TRANSPORT_GROUP 1