浏览代码

htable: docs - updates to new function names for matching items

Daniel-Constantin Mierla 6 年之前
父节点
当前提交
017e4556e5
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 8 8
      src/modules/htable/doc/htable_admin.xml

+ 8 - 8
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")) {
   ...
 }
 ...