You can specify a NULL value for allocOps to use the default allocation functions. If allocOps is NULL , allocPriv is ignored. Note that the default freeEntry function does not free the value of the entry. Frees the table and all the entries. Returns A pointer to the new entry.
Description Add a new entry with the specified key and value to the hash table.
You can write your freeEntry function to free the value of the specified entry if the old value should be freed. The default freeEntry function does not free the value of the entry. It doubles the number of buckets if the table is overloaded. Removes the entry with the specified key from the hash table. This function should return PRStatus .