echash_delete_item — Remove the specified item from the hash table
int **echash_delete_item** ( | ht, | |
| | k, | |
| | klen
); | |
This function removes the specified item from the hash table. If keyfree and datafree functions were specified when the table was created, they will be invoked.
The hash table.
The key to the item that you wish to remove.
The length of the key.
On success this function returns
1 and on failure
It is legal to call this function in any thread.
The hash table data structure is not thread safe; any simultaneous access needs to be coordinated by the API consumer.