00001
00002
00003
00004
00005
00006
00007
00008 #ifndef ITABLE_H
00009 #define ITABLE_H
00010
00045 struct itable * itable_create( int buckets );
00046
00052 void itable_delete( struct itable *h );
00053
00059 int itable_size ( struct itable *h );
00060
00071 int itable_insert( struct itable *h, int key, const void *value );
00072
00079 void * itable_lookup( struct itable *h, int key );
00080
00087 void * itable_remove( struct itable *h, int key );
00088
00096 void itable_firstkey( struct itable *h );
00097
00106 int itable_nextkey( struct itable *h, int *key, void **value );
00107
00108 #endif