33 #ifndef __OGGZ_TABLE_H__
34 #define __OGGZ_TABLE_H__
void OggzTable
A table of key-value pairs.
Definition: oggz_table.h:46
void * oggz_table_lookup(OggzTable *table, long key)
Retrieve the element of an OggzTable indexed by a given key.
int oggz_table_size(OggzTable *table)
Query the number of elements in an OggzTable.
int oggz_table_remove(OggzTable *table, long key)
Remove the element of an OggzTable indexed by a given key.
void * oggz_table_nth(OggzTable *table, int n, long *key)
Retrieve the nth element of an OggzTable, and optionally its key.
void * oggz_table_insert(OggzTable *table, long key, void *data)
Insert an element into a table.
void oggz_table_delete(OggzTable *table)
Delete an OggzTable.
OggzTable * oggz_table_new(void)
Instantiate a new OggzTable.