summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-06-03 16:18:11 +0000
committerBenny Prijono <bennylp@teluu.com>2010-06-03 16:18:11 +0000
commit0c88735614f5caca1fb6899e59977b865cc72c28 (patch)
tree12fcc6c5db49e0d151d742597f76126758884fc4 /pjnath/include
parent62f1ba21e766b422e3b49ad89601a30742b48a45 (diff)
Make TURN pool memory sizes compile-time configurable (misc, re: #1068)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3197 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r--pjnath/include/pjnath/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/config.h b/pjnath/include/pjnath/config.h
index 196f2d53..67e7d9d5 100644
--- a/pjnath/include/pjnath/config.h
+++ b/pjnath/include/pjnath/config.h
@@ -467,6 +467,25 @@
# define PJNATH_POOL_INC_STUN_TDATA 1000
#endif
+/** TURN session initial pool size */
+#ifndef PJNATH_POOL_LEN_TURN_SESS
+# define PJNATH_POOL_LEN_TURN_SESS 1000
+#endif
+
+/** TURN session pool increment size */
+#ifndef PJNATH_POOL_INC_TURN_SESS
+# define PJNATH_POOL_INC_TURN_SESS 1000
+#endif
+
+/** TURN socket initial pool size */
+#ifndef PJNATH_POOL_LEN_TURN_SOCK
+# define PJNATH_POOL_LEN_TURN_SOCK 1000
+#endif
+
+/** TURN socket pool increment size */
+#ifndef PJNATH_POOL_INC_TURN_SOCK
+# define PJNATH_POOL_INC_TURN_SOCK 1000
+#endif
/**
* @}