Simple hash table C API. Does not allow 0 values for items... More...
Typedefs | |
typedef enum _Itable_IndexTypes | Itable_IndexTypes |
typedef enum _Itable_Types | Itable_Types |
typedef void(* | Ifunc )(void) |
typedef struct _Itable | Itable |
Enumerations | |
enum | _Itable_IndexTypes { IUPTABLE_POINTERINDEXED = 10, IUPTABLE_STRINGINDEXED } |
enum | _Itable_Types { IUPTABLE_POINTER, IUPTABLE_STRING, IUPTABLE_FUNCPOINTER } |
Functions | |
Itable * | iupTableCreate (Itable_IndexTypes indexType) |
Itable * | iupTableCreateSized (Itable_IndexTypes indexType, unsigned int initialSizeIndex) |
void | iupTableDestroy (Itable *it) |
void | iupTableClear (Itable *it) |
int | iupTableCount (Itable *it) |
void | iupTableSet (Itable *it, const char *key, void *value, Itable_Types itemType) |
void | iupTableSetFunc (Itable *it, const char *key, Ifunc func) |
void * | iupTableGet (Itable *it, const char *key) |
Ifunc | iupTableGetFunc (Itable *it, const char *key, void **value) |
void * | iupTableGetTyped (Itable *it, const char *key, Itable_Types *itemType) |
void | iupTableRemove (Itable *it, const char *key) |
char * | iupTableFirst (Itable *it) |
char * | iupTableNext (Itable *it) |
void * | iupTableGetCurr (Itable *it) |
char * | iupTableRemoveCurr (Itable *it) |
See Copyright Notice in "iup.h"