7#ifndef __MAPOFSTRINGS_H__
8#define __MAPOFSTRINGS_H__
Declaration of the ConstStringList structure and supporting functions to work with a list of constant...
void MapOfStrings_Initialize(MapOfStrings *map)
Initialize the given MapOfStrings structure so it is ready for use.
void MapOfStrings_Clear(MapOfStrings *map)
Clear the given MapOfStrings object, releasing all memory associated with it. Leaves the object in an...
int MapOfStrings_Find(MapOfStrings *map, const char *key)
Find the specified key in the given MapOfStrings object, returning an index into the object.
bool MapOfStrings_AddStringList(MapOfStrings *map, const char *key, ConstStringList *value)
Add a key/value association to the given MapOfStrings object. The MapOfStrings object takes ownership...
bool MapOfStrings_AddArray(MapOfStrings *map, const char *key, const char **value)
Add a key/value association to the given MapOfStrings object, where the value is provided as a NULL-t...
Represents a list of pointers to zero-terminated strings that are to remain constant and never delete...
Represents an entry in the MapOfStrings structure, associating a string "key" with a StringList "valu...
ConstStringList * value
The "value" that is a ConstStringList object.
const char * key
A string that is associated with the value field.
Represents a list of structures that map strings to ConstStringList objects.
MapOfStringsEntry * entries
List of MapOfStringsEntry for each mapping.
size_t entries_count
Number of items in the entries list.