7#ifndef __CONSTSTRINGLIST_H__
8#define __CONSTSTRINGLIST_H__
int ConstStringList_Find(ConstStringList *stringList, const char *string)
Search the given string list for the given string. If found, return the index of the found string.
void ConstStringList_Initialize(ConstStringList *stringList)
Initialize the given string list.
bool ConstStringList_AddStrings(ConstStringList *stringList, const char **strings, size_t numStrings)
Add an array of strings to the given string list.
struct _ConstStringList ConstStringList
Represents a list of pointers to zero-terminated strings that are to remain constant and never delete...
bool ConstStringList_AreListsEqual(ConstStringList *left, ConstStringList *right)
Compare two strings lists to determine if they have the same contents.
bool ConstStringList_AddString(ConstStringList *stringList, const char *string)
Add a string to the given string list.
void ConstStringList_Remove(ConstStringList *stringList, int removeIndex)
Remove the specified string from the given string list.
void ConstStringList_Clear(ConstStringList *stringList)
Clear the specified string list. The strings in the list are left alone, but the list itself is delet...
Represents a list of pointers to zero-terminated strings that are to remain constant and never delete...
size_t strings_count
Number of strings in the strings list.
const char ** strings
Pointer to an array of zero-terminated string pointers. These strings are constant and will not be du...
size_t allocated_count
The number of strings that can be held in the strings list.