Oval_definition
[OVAL Definitions interface]

Oval definition specification. More...

Data Structures

struct  oval_definition
 Handle: Oval_definition. More...
struct  oval_definition_iterator
 Handle: Oval_definition iterator. More...

Modules

 Setters
 

Oval_definition set methods.


 Getters
 

Oval_definition get methods.


 Iterators
 

Oval_definition iterator methods.


 Evaluators
 

Oval_definition evaluator methods


Functions

struct oval_definitionoval_definition_new (struct oval_definition_model *, char *id)
 Construct an instance of Oval_definition.
void oval_definition_free (struct oval_definition *)
 Release an instance of Oval_definition.

Detailed Description

Oval definition specification.

A definition is the key structure in OVAL. It is analogous to the logical sentence or proposition: if a computer's state matches the configuration parameters laid out in the criteria, then that computer exhibits the state described.


Function Documentation

void oval_definition_free ( struct oval_definition  ) 

Release an instance of Oval_definition.

All attributes of the Oval_definition are also released.

Note:
Applications should not call this method to free an Oval_definition that is bound to an instance of OVAL Definitions interface. These bound definitions are released when the OVAL Definitions interface are released.
struct oval_definition* oval_definition_new ( struct oval_definition_model ,
char *  id 
) [read]

Construct an instance of Oval_definition.

Initialized attribute values are

  • id bound to value specified by id parameter.
  • version bound to 0.
  • class bound to OVAL_CLASS_UNKNOWN
  • deprecated bound to false
  • title bound to NULL
  • description bound to NULL
  • criteria bound to NULL
  • affected bound to empty iterator
  • references bound to empty iterator
  • notes bound to empty iterator
    Parameters:
    id - (non-NULL) A copy of this string is bound to the id attribute of the created instance.

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