00001
00002
00003
00004
00005
00006
00007
00008 #ifndef ITABLE_H
00009 #define ITABLE_H
00010
00011 struct itable * itable_create( int buckets );
00012 void itable_delete( struct itable *h );
00013
00014 int itable_insert( struct itable *h, int key, const void *value, void **old );
00015 void * itable_lookup( struct itable *h, int key );
00016 void * itable_remove( struct itable *h, int key );
00017
00018 void itable_firstkey( struct itable *h );
00019 int itable_nextkey( struct itable *h, int *key, void **value );
00020
00021 #endif