|
@@ -66,8 +66,8 @@ Ovidiu Sas
|
|
|
4.10. sht_iterator_start(iname, hname)
|
|
|
4.11. sht_iterator_end(iname)
|
|
|
4.12. sht_iterator_next(iname)
|
|
|
- 4.13. sht_has_name(htable, op, mval)
|
|
|
- 4.14. sht_has_str_value(htable, op, mval)
|
|
|
+ 4.13. sht_match_name(htable, op, mval)
|
|
|
+ 4.14. sht_match_str_value(htable, op, mval)
|
|
|
|
|
|
5. Exported pseudo-variables
|
|
|
6. RPC Commands
|
|
@@ -120,8 +120,8 @@ Ovidiu Sas
|
|
|
1.29. sht_iterator_start usage
|
|
|
1.30. sht_iterator_end usage
|
|
|
1.31. sht_iterator_next usage
|
|
|
- 1.32. sht_has_name usage
|
|
|
- 1.33. sht_has_name usage
|
|
|
+ 1.32. sht_match_name usage
|
|
|
+ 1.33. sht_match_name usage
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
|
|
|
@@ -167,8 +167,8 @@ Chapter 1. Admin Guide
|
|
|
4.10. sht_iterator_start(iname, hname)
|
|
|
4.11. sht_iterator_end(iname)
|
|
|
4.12. sht_iterator_next(iname)
|
|
|
- 4.13. sht_has_name(htable, op, mval)
|
|
|
- 4.14. sht_has_str_value(htable, op, mval)
|
|
|
+ 4.13. sht_match_name(htable, op, mval)
|
|
|
+ 4.14. sht_match_str_value(htable, op, mval)
|
|
|
|
|
|
5. Exported pseudo-variables
|
|
|
6. RPC Commands
|
|
@@ -706,8 +706,8 @@ modparam("htable", "event_callback_mode", 1)
|
|
|
4.10. sht_iterator_start(iname, hname)
|
|
|
4.11. sht_iterator_end(iname)
|
|
|
4.12. sht_iterator_next(iname)
|
|
|
- 4.13. sht_has_name(htable, op, mval)
|
|
|
- 4.14. sht_has_str_value(htable, op, mval)
|
|
|
+ 4.13. sht_match_name(htable, op, mval)
|
|
|
+ 4.14. sht_match_str_value(htable, op, mval)
|
|
|
|
|
|
4.1. sht_print()
|
|
|
|
|
@@ -897,7 +897,7 @@ sht_iterator_end("i1");
|
|
|
sht_iterator_end("i1");
|
|
|
...
|
|
|
|
|
|
-4.13. sht_has_name(htable, op, mval)
|
|
|
+4.13. sht_match_name(htable, op, mval)
|
|
|
|
|
|
Return greater than 0 (true) if the htable has an item that matches the
|
|
|
name against the mval parameter.
|
|
@@ -912,14 +912,14 @@ sht_iterator_end("i1");
|
|
|
|
|
|
This function can be used from ANY_ROUTE.
|
|
|
|
|
|
- Example 1.32. sht_has_name usage
|
|
|
+ Example 1.32. sht_match_name usage
|
|
|
...
|
|
|
-if(sht_has_name("ha", "eq", "alice")) {
|
|
|
+if(sht_match_name("ha", "eq", "alice")) {
|
|
|
...
|
|
|
}
|
|
|
...
|
|
|
|
|
|
-4.14. sht_has_str_value(htable, op, mval)
|
|
|
+4.14. sht_match_str_value(htable, op, mval)
|
|
|
|
|
|
Return greater than 0 (true) if the htable has an item that matches the
|
|
|
string value against the mval parameter.
|
|
@@ -934,9 +934,9 @@ if(sht_has_name("ha", "eq", "alice")) {
|
|
|
|
|
|
This function can be used from ANY_ROUTE.
|
|
|
|
|
|
- Example 1.33. sht_has_name usage
|
|
|
+ Example 1.33. sht_match_name usage
|
|
|
...
|
|
|
-if(sht_has_str_value("ha", "eq", "alice")) {
|
|
|
+if(sht_match_str_value("ha", "eq", "alice")) {
|
|
|
...
|
|
|
}
|
|
|
...
|