CHashTable 1
Loading...
Searching...
No Matches
hash_table_core.c File Reference

Core HashTable methods. More...

#include <stdlib.h>
#include "hash_table.h"
#include "hash_table_internal.h"
#include "../debugmalloc/debugmalloc.h"
Include dependency graph for hash_table_core.c:

Functions

HashTable * hash_table_create (void)
 
bool hash_table_destroy (HashTable *table)
 
bool hash_table_insert (HashTable *table, int key, int value)
 
const Entryhash_table_get (const HashTable *table, int key)
 
bool hash_table_delete (HashTable *table, int key)
 
bool hash_table_equal (const HashTable *table1, const HashTable *table2)
 
static void copy_callback (int key, int value, void *user_data)
 
HashTable * hash_table_copy (const HashTable *table)
 
void hash_table_foreach (const HashTable *table, void(*callback)(int key, int value, void *), void *user_data)
 

Detailed Description

Core HashTable methods.

Includes the create, destroy, insert, get, delete, and foreach HashTable methods