Browse code

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

Daniel-Constantin Mierla authored on 31/07/2019 10:40:45
Showing 1 changed files
... ...
@@ -1078,9 +1078,9 @@ sht_iterator_end("i1");
1078 1078
 </programlisting>
1079 1079
 		</example>
1080 1080
 	</section>
1081
-	<section id="htable.f.sht_has_name">
1081
+	<section id="htable.f.sht_match_name">
1082 1082
 		<title>
1083
-		<function moreinfo="none">sht_has_name(htable, op, mval)</function>
1083
+		<function moreinfo="none">sht_match_name(htable, op, mval)</function>
1084 1084
 		</title>
1085 1085
 		<para>
1086 1086
 			Return greater than 0 (true) if the htable has an item that matches
... ...
@@ -1122,19 +1122,19 @@ sht_iterator_end("i1");
1122 1122
 			This function can be used from ANY_ROUTE.
1123 1123
 		</para>
1124 1124
 		<example>
1125
-		<title><function>sht_has_name</function> usage</title>
1125
+		<title><function>sht_match_name</function> usage</title>
1126 1126
 		<programlisting format="linespecific">
1127 1127
 ...
1128
-if(sht_has_name("ha", "eq", "alice")) {
1128
+if(sht_match_name("ha", "eq", "alice")) {
1129 1129
   ...
1130 1130
 }
1131 1131
 ...
1132 1132
 </programlisting>
1133 1133
 		</example>
1134 1134
 	</section>
1135
-	<section id="htable.f.sht_has_str_value">
1135
+	<section id="htable.f.sht_match_str_value">
1136 1136
 		<title>
1137
-		<function moreinfo="none">sht_has_str_value(htable, op, mval)</function>
1137
+		<function moreinfo="none">sht_match_str_value(htable, op, mval)</function>
1138 1138
 		</title>
1139 1139
 		<para>
1140 1140
 			Return greater than 0 (true) if the htable has an item that matches
... ...
@@ -1176,10 +1176,10 @@ if(sht_has_name("ha", "eq", "alice")) {
1176 1176
 			This function can be used from ANY_ROUTE.
1177 1177
 		</para>
1178 1178
 		<example>
1179
-		<title><function>sht_has_name</function> usage</title>
1179
+		<title><function>sht_match_name</function> usage</title>
1180 1180
 		<programlisting format="linespecific">
1181 1181
 ...
1182
-if(sht_has_str_value("ha", "eq", "alice")) {
1182
+if(sht_match_str_value("ha", "eq", "alice")) {
1183 1183
   ...
1184 1184
 }
1185 1185
 ...