xccdf_warning Struct Reference
[XCCDF]

XCCDF warning. More...

#include <xccdf.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

Detailed Description

XCCDF warning.


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

Generated on 30 Mar 2012 for Open SCAP Library by  doxygen 1.6.1