The string functions defined in <am_string_set.h> are:
Allocates memory and initializes the string set size.
#include "am_string_set.h" AM_EXPORT am_string_set_t * am_string_set_allocate(int size);
This function takes the following parameter:
Number of strings in the set.
This function returns the allocated am_string_set_t, or NULL if size is less than zero.
Releases memory in the specified string set object by freeing each string in the set, then freeing the associated pointers, and finally, the structure itself.
#include "am_string_set.h" AM_EXPORT void am_string_set_destroy(am_string_set_t *string_set);
This function takes the following parameter:
Pointer to the specified string set object.
This function returns no values.