Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
xccdf_plain_text Struct Reference

XCCDF target fact. More...

#include <xccdf_benchmark.h>

Public Member Functions

OSCAP_API struct xccdf_plain_textxccdf_plain_text_new (void)
 
OSCAP_API struct xccdf_plain_textxccdf_plain_text_new_fill (const char *id, const char *text)
 
OSCAP_API void xccdf_plain_text_free (struct xccdf_plain_text *plain)
 
OSCAP_API struct xccdf_plain_textxccdf_plain_text_clone (const struct xccdf_plain_text *pt)
 
Getters

Return value is pointer to structure's member.

Do not free unless you null the pointer in the structure. Use remove function otherwise.

OSCAP_API const char * xccdf_plain_text_get_id (const struct xccdf_plain_text *item)
 
OSCAP_API const char * xccdf_plain_text_get_text (const struct xccdf_plain_text *item)
 
Setters

For lists use add functions.

Parameters of set functions are duplicated in memory and need to be freed by caller.

OSCAP_API bool xccdf_plain_text_set_id (struct xccdf_plain_text *obj, const char *newval)
 
OSCAP_API bool xccdf_plain_text_set_text (struct xccdf_plain_text *obj, const char *newval)
 

Data Fields

char * id
 
char * text
 

Detailed Description

XCCDF target fact.

See Also
xccdf_result

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