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

Detailed Description

XCCDF warning.

#include <xccdf_benchmark.h>

Public Member Functions

struct xccdf_warningxccdf_warning_new (void)
 
struct xccdf_warningxccdf_warning_clone (const struct xccdf_warning *old_warning)
 
void xccdf_warning_free (struct xccdf_warning *warn)
 
Getters

Return value is pointer to structure's member.

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

xccdf_warning_category_t xccdf_warning_get_category (const struct xccdf_warning *warning)
 
struct oscap_textxccdf_warning_get_text (const struct xccdf_warning *warning)
 
Setters

For lists use add functions.

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

bool xccdf_warning_set_category (struct xccdf_warning *obj, xccdf_warning_category_t newval)
 
bool xccdf_warning_set_text (struct xccdf_warning *obj, struct oscap_text *newval)
 

Data Fields

struct oscap_texttext
 
xccdf_warning_category_t category
 

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