Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
oscap_stringlist Struct Reference

Detailed Description

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_iteratoroscap_stringlist_get_strings (const struct oscap_stringlist *list)
 
struct oscap_stringlistoscap_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_stringlistoscap_stringlist_new (void)
 
void oscap_stringlist_free (struct oscap_stringlist *list)
 

The documentation for this struct was generated from the following file: