itable.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef ITABLE_H
00009 #define ITABLE_H
00010
00011 #include "int_sizes.h"
00012
00047 struct itable *itable_create(int buckets);
00048
00054 void itable_clear(struct itable *h);
00055
00061 void itable_delete(struct itable *h);
00062
00068 int itable_size(struct itable *h);
00069
00080 int itable_insert(struct itable *h, UINT64_T key, const void *value);
00081
00088 void *itable_lookup(struct itable *h, UINT64_T key);
00089
00096 void *itable_remove(struct itable *h, UINT64_T key);
00097
00105 void itable_firstkey(struct itable *h);
00106
00115 int itable_nextkey(struct itable *h, UINT64_T * key, void **value);
00116
00117 #endif