oval_result_system Struct Reference
[OVALRES]

Public Member Functions

struct oval_result_system * oval_result_system_new (struct oval_results_model *, struct oval_syschar_model *)
struct oval_result_system * oval_result_system_clone (struct oval_results_model *new_model, struct oval_result_system *old_system)
void oval_result_system_free (struct oval_result_system *)
Setters



void oval_result_system_add_definition (struct oval_result_system *, struct oval_result_definition *)
void oval_result_system_add_test (struct oval_result_system *, struct oval_result_test *)
Getters



struct oval_results_model * oval_result_system_get_results_model (struct oval_result_system *)
struct oval_result_definition * oval_result_system_get_definition (struct oval_result_system *, const char *)
struct
oval_result_definition_iterator * 
oval_result_system_get_definitions (struct oval_result_system *)
struct oval_result_test_iterator * oval_result_system_get_tests (struct oval_result_system *)
struct oval_syschar_model * oval_result_system_get_syschar_model (struct oval_result_system *)
struct oval_sysinfo * oval_result_system_get_sysinfo (struct oval_result_system *)
bool oval_result_system_is_locked (struct oval_result_system *result_system)
Evaluators



int oval_result_system_eval (struct oval_result_system *sys)
 Function evaluates all OVAL definitions of specified result_system.
oval_result_t oval_result_system_eval_definition (struct oval_result_system *sys, const char *id)
 Function evaluates specified OVAL definition in result_system.
bool oval_result_system_is_valid (struct oval_result_system *result_system)
 Return true if the result_system instance is valid An oval_result_system is valid if all the following are true

  • The associated oval_syschar_model is valid
  • All included result definitions are valid
  • All included result tests are valid.

Data Fields

struct oval_results_model * model
struct oval_string_map * definitions
struct oval_string_map * tests
struct oval_syschar_model * syschar_model
bool definitions_initialized

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

Generated on 30 Jun 2010 for Open SCAP Library by  doxygen 1.6.1