echash_delref

March 26, 2020 Contributors

Name

echash_delref — Delete a reference to a hash table

Synopsis

#include "echash.h"

| (void) **echash_delref** ( | ht); |   |

ec_hash_table * <var class="pdparam">ht</var>;

Description

Delete a reference to a hash table. Use echash_destroy to destroy a hash table.

Note

If the refcount falls to zero, This function implicitly calls echash_delete with the keyfree datafree functions supplied when the hash was created.

Parameters

ht

The hash table that you wish to delete.

Return Values

This function returns void.

Threading

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.

See Also

“ec_hash_table”, echash_create