[sr-dev] git:master: htable: documented the new 'initval' attribute for htable parameter

Daniel-Constantin Mierla miconda at gmail.com
Sun May 1 17:40:10 CEST 2011


Module: sip-router
Branch: master
Commit: bd6a3df6f639c004d91018507ded1ea3480a6d96
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bd6a3df6f639c004d91018507ded1ea3480a6d96

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat Apr 30 19:13:09 2011 +0200

htable: documented the new 'initval' attribute for htable parameter

---

 modules_k/htable/doc/htable_admin.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/modules_k/htable/doc/htable_admin.xml b/modules_k/htable/doc/htable_admin.xml
index dc27cb8..eabc0a6 100644
--- a/modules_k/htable/doc/htable_admin.xml
+++ b/modules_k/htable/doc/htable_admin.xml
@@ -261,6 +261,12 @@ if(is_present_hf("Authorization"))
 			write back to db table).
 		</para>
 		</listitem>
+		<listitem>
+		<para>
+			<emphasis>initval</emphasis> - the integer value to be returned
+			insted of $null when a requested key is not set.
+		</para>
+		</listitem>
 		</itemizedlist>
 		<para>
 		<emphasis>
@@ -273,6 +279,7 @@ if(is_present_hf("Authorization"))
 ...
 modparam("htable", "htable", "a=&gt;size=4;autoexpire=7200;dbtable=htable_a;")
 modparam("htable", "htable", "b=&gt;size=5;")
+modparam("htable", "htable", "c=&gt;size=4;autoexpire=7200;initval=1;")
 ...
 </programlisting>
 		</example>




More information about the sr-dev mailing list