Go to the source code of this file.
◆ LF_HASH_UNIQUE
◆ MY_LF_ERRPTR
| #define MY_LF_ERRPTR ((void *)(intptr)1) |
◆ hash_get_key_function
| typedef const uchar *(* hash_get_key_function) (const uchar *arg, size_t *length) |
Callback for extracting key and key length from user data in a LF_HASH.
- Parameters
-
| arg | Pointer to user data. |
| [out] | length | Store key length here. |
- Returns
- Pointer to key to be hashed.
- Note
- Was my_hash_get_key, with lots of C-style casting when calling my_hash_init. Renamed to force build error (since signature changed) in case someone keeps following that coding style.
◆ lf_allocator_func
| typedef void lf_allocator_func(uchar *) |
◆ lf_hash_init_func
| typedef void lf_hash_init_func(uchar *dst, const uchar *src) |
◆ lf_hash_match_func
| typedef int lf_hash_match_func(const uchar *el, void *arg) |