I\'m trying to create an efficient look-up table in C.
I have an integer as a key and a variable length char* as the value.
char*
I\'
Declare the value field as void *value.
value
void *value
This way you can have any type of data as the value, but the responsibility for allocating and freeing it will be delegated to the client code.