summary refs log tree commit diff
path: root/lib/hashtable.h
blob: a4ccd739cc3f8627bacf7b0426c4c32603ef480d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __HASHTABLE_H__
#define __HASHTABLE_H__

void typedef *HashTable;

HashTable hashtable_init(size_t);

int hashtable_deinit(HashTable*);

int hashtable_put(HashTable, char*, void*, size_t);

int hashtable_remove(HashTable, char*);

void* hashtable_get(HashTable, char*);

#endif