34 if (groupName != NULL)
66 if (groupName != NULL)
86 Group* foundGroup = NULL;
88 if (groupName != NULL)
106 bool userFound =
false;
108 if (userName != NULL && groupName != NULL)
111 if (groupIndex != -1)
114 userFound = userIndex != -1;
128 if (userName != NULL && groupName != NULL)
132 if (groupIndex != -1)
153 if (userName != NULL && groupName != NULL)
157 if (groupIndex != -1)
179 if (userName != NULL)
228 if (groupName != NULL && users != NULL)
232 if (groupIndex != -1)
254 if (userName != NULL && groups != NULL)
std::vector< std::string > StringList
Typedef for a vector of std::string.
bool StringList_AddString(StringList *stringList, const char *string)
Add a string to the given string list.
Represents a single group. A group has a name and zero or more users. Users are tracked by name.
const char * Name
Name of this group.
Represents a list of groups. Call GroupList_Initialize() to start and GroupList_Clear() to release al...
size_t groups_count
Number of pointers in the groups list.
Group ** groups
Array of pointers to Group objects.