bool HASH_Insert(hashTable_s *t, const void *key, int nkey, const void *value, int nvalue)
Inserts a new value with given key into the hash table.
unsigned short int(* hashTable_hash)(const void *key, int len)
void HASH_Clear(hashTable_s *t)
Clears the hash table.
void * HASH_Remove(hashTable_s *t, const void *key, int nkey)
Removes an existing value with given key from the hash table.
hashTable_s * HASH_NewTable(bool ownsKeys, bool ownsValues, bool duplicateOverwrite)
Creates a new hash table and sets it initial capacity.
unsigned short int HASH_INDEX
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
hashBucket_s * table[HASH_TABLE_SIZE]
The hash table structure, contains an array of buckets being indexed by the hash function.
void * HASH_Get(hashTable_s *t, const void *key, int nkey)
Returns the value for a given key.
void HASH_DeleteTable(hashTable_s **t)
Deletes a hash table and sets the pointer to NULL.
QGL_EXTERN GLuint GLchar GLuint * len
int(* hashTable_compare)(const void *key1, int len1, const void *key2, int len2)
hashTable_s * HASH_CloneTable(hashTable_s *source)
int HASH_Count(hashTable_s *t)
Returns the number of entries in the hash table.