a generic linkedmap for mapping a char* key to a void* value