Table/Lookup

Table/Lookup Utilities. More...

Modules

Macros
Table/Lookup macros.

Functions

void * gos_table_lookup (const char *key, const void *table, size_t count, size_t width)
Using binary search, find entry with key in given table.
void * gos_table_reverse_lookup (unsigned int value, const void *table, size_t count, size_t width)
Using binary search, find entry with value in given table.
void * gos_table_linear_lookup (const char *key, const void *table, size_t count, size_t width)
Using linear search, find entry with key in given table.

Detailed Description

Table/Lookup Utilities.