diff options
Diffstat (limited to 'lib/hashtable.h')
-rw-r--r-- | lib/hashtable.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/hashtable.h b/lib/hashtable.h new file mode 100644 index 0000000..5bdcb08 --- /dev/null +++ b/lib/hashtable.h @@ -0,0 +1,16 @@ +#ifndef __HASHTABLE_H__ +#define __HASHTABLE_H__ + +void typedef *HashTable; + +HashTable hashtable_init(); + +int hashtable_deinit(HashTable*); + +int hashtable_put(HashTable, char*, void*); + +int hashtable_remove(HashTable, char*); + +void* hashtable_get(HashTable, char*); + +#endif |