Evaluators
[Oval_criteria_node]

Oval_criteria_node evaluator methods More...

Functions

bool oval_criteria_node_is_valid (struct oval_criteria_node *)
 Returns true if Oval_criteria_node is valid.

Detailed Description

Oval_criteria_node evaluator methods


Function Documentation

bool oval_criteria_node_is_valid ( struct oval_criteria_node  ) 

Returns true if Oval_criteria_node is valid.

An Oval_criteria_node is valid if one of the following is true:

  • The type attribute is OVAL_NODETYPE_CRITERIA (Oval_criteria)-- AND
    • The operator attribute is not OVAL_OPERATOR_UNKNOWN -- AND
    • The subnode attribute is not an empty iterator -- AND
    • Each iterated Oval_criteria_node is valid.
  • The type attribute is OVAL_NODETYPE_CRITERION (Oval_criterion) -- AND
    • The test attribute is not NULL -- AND
    • The referenced test is valid.
  • The type attribute is OVAL_NODETYPE_EXTENDDEF (Oval_extends) -- AND
    • The test attribute is not NULL -- AND
    • The referenced test is valid.

Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1