Open SCAP Library
|
A collection of strings.
#include <oscap_text.h>
Public Member Functions | |
Getters | |
Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise. | |
struct oscap_string_iterator * | oscap_stringlist_get_strings (const struct oscap_stringlist *list) |
struct oscap_stringlist * | oscap_stringlist_clone (struct oscap_stringlist *list) |
Setters | |
For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller. | |
bool | oscap_stringlist_add_string (struct oscap_stringlist *list, const char *str) |
struct oscap_stringlist * | oscap_stringlist_new (void) |
void | oscap_stringlist_free (struct oscap_stringlist *list) |