11 #include "int_sizes.h"
80 int itable_insert(
struct itable *h, UINT64_T key,
const void *value);
115 int itable_nextkey(
struct itable *h, UINT64_T * key,
void **value);
int itable_insert(struct itable *h, UINT64_T key, const void *value)
Insert a key and value.
void * itable_lookup(struct itable *h, UINT64_T key)
Look up a value by key.
void itable_firstkey(struct itable *h)
Begin iteration over all keys.
void * itable_remove(struct itable *h, UINT64_T key)
Remove a value by key.
int itable_nextkey(struct itable *h, UINT64_T *key, void **value)
Continue iteration over all keys.
int itable_size(struct itable *h)
Count the entries in an integer table.
void itable_clear(struct itable *h)
Remove all entries from an integer table.
struct itable * itable_create(int buckets)
Create a new integer table.
void itable_delete(struct itable *h)
Delete an integer table.