ght_finalize(3) libghthash User Manual ght_finalize(3)NAMEght_finalize - destroy a hash table
SYNOPSIS
#include <ght_hash_table.h>
void ght_finalize(ght_hash_table_t *p_ht);
DESCRIPTION
Destroy the hash table p_ht
This function should be called to free the memory used by the hash ta‐
ble. Note that the memory used by the entries within the hash table is
not freed automatically, to free this, iterate over the elemnents in
the table and free them before calling ght_finalizeSEE ALSOght_insert(3), ght_first(3), ght_next(3),
libghthash is fully documented with Doxygen (in {pre‐
fix}/doc/libghthash/html/).
AUTHOR
This manual page was created by Simon Kagstrom <ska@bth.se>.
libghthash 2005-07-21 ght_finalize(3)