Function ndpi_hash_find_entry
Defined in File ndpi_api.h
Function Documentation
-
int ndpi_hash_find_entry(ndpi_str_hash *h, char *key, u_int key_len, u_int16_t *value)
Search for an entry in the hashmap.
- h = pointer to the hash map [in]
- key = character string (no ‘\0’ required) [in]
- key_len = length of the character string @key [in]
- value = pointer to a pointer to the value, which contains a
previously added hash entry [in, out]
- Returns:
0 if an entry with that key was found, 1 otherwise