Module: kamailio
Branch: master
Commit: 017e4556e5493d8eab5d54297cc382eb2d6914fa
URL:
https://github.com/kamailio/kamailio/commit/017e4556e5493d8eab5d54297cc382e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-07-31T12:40:45+02:00
htable: docs - updates to new function names for matching items
---
Modified: src/modules/htable/doc/htable_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/017e4556e5493d8eab5d54297cc382e…
Patch:
https://github.com/kamailio/kamailio/commit/017e4556e5493d8eab5d54297cc382e…
---
diff --git a/src/modules/htable/doc/htable_admin.xml
b/src/modules/htable/doc/htable_admin.xml
index d814881044..2d0d7a1f58 100644
--- a/src/modules/htable/doc/htable_admin.xml
+++ b/src/modules/htable/doc/htable_admin.xml
@@ -1078,9 +1078,9 @@ sht_iterator_end("i1");
</programlisting>
</example>
</section>
- <section id="htable.f.sht_has_name">
+ <section id="htable.f.sht_match_name">
<title>
- <function moreinfo="none">sht_has_name(htable, op,
mval)</function>
+ <function moreinfo="none">sht_match_name(htable, op,
mval)</function>
</title>
<para>
Return greater than 0 (true) if the htable has an item that matches
@@ -1122,19 +1122,19 @@ sht_iterator_end("i1");
This function can be used from ANY_ROUTE.
</para>
<example>
- <title><function>sht_has_name</function> usage</title>
+ <title><function>sht_match_name</function> usage</title>
<programlisting format="linespecific">
...
-if(sht_has_name("ha", "eq", "alice")) {
+if(sht_match_name("ha", "eq", "alice")) {
...
}
...
</programlisting>
</example>
</section>
- <section id="htable.f.sht_has_str_value">
+ <section id="htable.f.sht_match_str_value">
<title>
- <function moreinfo="none">sht_has_str_value(htable, op,
mval)</function>
+ <function moreinfo="none">sht_match_str_value(htable, op,
mval)</function>
</title>
<para>
Return greater than 0 (true) if the htable has an item that matches
@@ -1176,10 +1176,10 @@ if(sht_has_name("ha", "eq",
"alice")) {
This function can be used from ANY_ROUTE.
</para>
<example>
- <title><function>sht_has_name</function> usage</title>
+ <title><function>sht_match_name</function> usage</title>
<programlisting format="linespecific">
...
-if(sht_has_str_value("ha", "eq", "alice")) {
+if(sht_match_str_value("ha", "eq", "alice")) {
...
}
...