Prototype for a function to compare two Hash keys. More...
Functions | |
| static int | cmp_key_string (union HashKey a, union HashKey b) |
| Compare two string keys - Implements hash_cmp_key_t -. | |
| static int | cmp_key_case_string (union HashKey a, union HashKey b) |
| Compare two string keys (ignore case) - Implements hash_cmp_key_t -. | |
| static int | cmp_key_int (union HashKey a, union HashKey b) |
| Compare two integer keys - Implements hash_cmp_key_t -. | |
Prototype for a function to compare two Hash keys.
| a | First key to compare |
| b | Second key to compare |
| -1 | a precedes b |
| 0 | a and b are identical |
| 1 | b precedes a |
This works like strcmp().
Compare two string keys - Implements hash_cmp_key_t -.
Definition at line 61 of file hash.c.
Here is the call graph for this function:
Here is the caller graph for this function:Compare two string keys (ignore case) - Implements hash_cmp_key_t -.
Definition at line 88 of file hash.c.
Here is the call graph for this function:
Here is the caller graph for this function:Compare two integer keys - Implements hash_cmp_key_t -.
Definition at line 104 of file hash.c.
Here is the caller graph for this function: