xccdf_check Struct Reference
[XCCDF]

XCCDF simple or complex check. More...

#include <xccdf.h>

Public Member Functions

struct xccdf_checkxccdf_check_new (void)
void xccdf_check_free (struct xccdf_check *check)
struct xccdf_checkxccdf_check_clone (const struct xccdf_check *old_check)
Getters

Return value is pointer to structure's member.

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



const char * xccdf_check_get_id (const struct xccdf_check *check)
bool xccdf_check_get_complex (const struct xccdf_check *check)
 True if the check is a complex check.
xccdf_bool_operator_t xccdf_check_get_oper (const struct xccdf_check *check)
 Get an operator to be applied no children of the complex check.
const char * xccdf_check_get_system (const struct xccdf_check *check)
const char * xccdf_check_get_selector (const struct xccdf_check *check)
const char * xccdf_check_get_content (const struct xccdf_check *check)
struct xccdf_check_iteratorxccdf_check_get_children (const struct xccdf_check *check)
 Get an iterator to nested checks of the complex check.
struct
xccdf_check_import_iterator
xccdf_check_get_imports (const struct xccdf_check *check)
struct
xccdf_check_export_iterator
xccdf_check_get_exports (const struct xccdf_check *check)
struct
xccdf_check_content_ref_iterator
xccdf_check_get_content_refs (const struct xccdf_check *check)
Setters

For lists use add functions.

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



bool xccdf_check_set_id (struct xccdf_check *obj, const char *newval)
bool xccdf_check_set_system (struct xccdf_check *obj, const char *newval)
bool xccdf_check_set_selector (struct xccdf_check *obj, const char *newval)
bool xccdf_check_set_content (struct xccdf_check *obj, const char *newval)
bool xccdf_check_set_oper (struct xccdf_check *obj, xccdf_bool_operator_t newval)
bool xccdf_check_add_import (struct xccdf_check *obj, struct xccdf_check_import *item)
bool xccdf_check_add_export (struct xccdf_check *obj, struct xccdf_check_export *item)
bool xccdf_check_add_content_ref (struct xccdf_check *obj, struct xccdf_check_content_ref *item)
bool xccdf_check_add_child (struct xccdf_check *obj, struct xccdf_check *item)

Data Fields

xccdf_bool_operator_t oper
struct oscap_listchildren
char * id
char * system
char * selector
char * content
struct oscap_listimports
struct oscap_listexports
struct oscap_listcontent_refs

Detailed Description

XCCDF simple or complex check.


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