summary refs log blame commit diff
path: root/lib/hashtable.h
blob: a4ccd739cc3f8627bacf7b0426c4c32603ef480d (plain) (tree)
1
2
3
4
5
6
7
8
9




                        
                                 


                                 
                                                   
 


                                       

      
#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