xccdf_value_binding Struct Reference
[XCCDF_POLICY]

XCCDF value binding structure is binding between Refine values, Set values, Value element and Check export element of benchmark. More...

#include <xccdf_policy.h>

Public Member Functions

struct xccdf_value_bindingxccdf_value_binding_new (void)
 Constructor for Value binding.
void xccdf_value_binding_free (struct xccdf_value_binding *)
 Destructor of Value binding structure.
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 xccdf_refine_valuexccdf_value_binding_get_refine_value (const struct xccdf_value_binding *)
 Get refine value from value bindings.
struct xccdf_setvaluexccdf_value_binding_get_set_value (const struct xccdf_value_binding *)
 Get set value from value bindings.
struct xccdf_valuexccdf_value_binding_get_rule_value (const struct xccdf_value_binding *)
 get value (element value) from value bindings
struct
xccdf_check_export_iterator
xccdf_value_binding_get_check_exports (const struct xccdf_value_binding *)
 get check export elements from value bindings
Setters

For lists use add functions.

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



bool xccdf_value_binding_add_refine_rule (struct xccdf_value_binding *, struct xccdf_refine_rule *)
 Add refine rule to the Value Binding structure.
bool xccdf_value_binding_add_refine_value (struct xccdf_value_binding *, struct xccdf_refine_value *)
 Add refine value to the Value Binding structure.
bool xccdf_value_binding_add_setvalue (struct xccdf_value_binding *, struct xccdf_setvalue *)
 Add value to the Value Binding structure.
bool xccdf_value_binding_add_check_export (struct xccdf_value_binding *, struct xccdf_check_export *)
 Add check export to the Value Binding structure.

Data Fields

struct oscap_listcheck_exports
 Check export elements of benchmark.
struct xccdf_refine_valuerefine_value
 Refine value element of Profile.
struct xccdf_setvalueset_value
 Set value element of Profile.
struct xccdf_valuerule_value
 Value element of benchmark (TODO:should be here more then once ?).

Detailed Description

XCCDF value binding structure is binding between Refine values, Set values, Value element and Check export element of benchmark.

Value bindings of policy.

These structures are binded together for exporting values to checking engine.

These bindings are set during the preprocessing of profile, when policies are beeing created.


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

Generated on 26 May 2010 for Open SCAP Library by  doxygen 1.6.1