Oval_test
[OVAL Definitions interface]

An Oval_test specifies a technical control by identifying an Oval_object that is evaluated on an instrumented host platform and, optionally, an Oval_state instance that matches the object query. More...

Data Structures

struct  oval_test
 Handle: Oval_test. More...
struct  oval_test_iterator
 Handle: Oval_test iterator. More...

Modules

 Setters
 

Oval_test set methods.


 Getters
 

Oval_test get methods.


 Iterators
 

Oval_test iterator methods.


 Evaluators
 

Oval_test evaluator methods


Functions

struct oval_testoval_test_new (struct oval_definition_model *, char *id)
 Construct new instance of Oval_test.
void oval_test_free (struct oval_test *)
 Construct instance of Oval_test.

Detailed Description

An Oval_test specifies a technical control by identifying an Oval_object that is evaluated on an instrumented host platform and, optionally, an Oval_state instance that matches the object query.


Function Documentation

struct oval_test* oval_test_new ( struct oval_definition_model ,
char *  id 
) [read]

Construct new instance of Oval_test.

Attribute values shall be initialized:

  • family -- initialized to OVAL_FAMILY_UNKNOWN
  • subtype -- initialized to OVAL_SUBTYPE_UNKNOWN
  • notes -- initialized to empty iterator.
  • comment -- initialized to NULL
  • id -- initialized to a copy of the id parameter
  • deprecated -- initialized to false
  • version -- initialized to zero
  • existence -- initialized to OVAL_CHECK_UNKNOWN
  • check -- initialized to OVAL_CHECK_UNKNOWN
  • object -- initialized to NULL
  • state -- initialized to NULL
Note:
This method shall not construct a new instance of Oval_test and shall return NULL if the text of the id parameter is not matched by the regular expression ^oval:[\.A-Za-z0-9_\-]+:tst:[1-9][0-9]*$.
Parameters:
id - (Not NULL) the text of the required test id.

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