OVAL Results Model holds OVAL results structure instances. More...
#include <oval_results.h>
Public Member Functions | |
struct oval_result_directives * | oval_results_model_import (struct oval_results_model *, struct oscap_import_source *, void *) |
Load oval results from XML file. | |
struct oval_results_model * | oval_results_model_new (struct oval_definition_model *definition_model, struct oval_syschar_model **) |
Create new oval_results_model. | |
struct oval_results_model * | oval_results_model_clone (struct oval_results_model *) |
Copy an oval_results_model. | |
void | oval_results_model_free (struct oval_results_model *model) |
free memory allocated to a specified oval results model. | |
void | oval_results_model_eval (struct oval_results_model *) |
Evaluate the specified oval results model and gather results for individual definitions and tests. | |
int | oval_results_model_export (struct oval_results_model *, struct oval_result_directives *, struct oscap_export_target *) |
export oval results to XML file. | |
Setters | |
void | oval_results_model_add_system (struct oval_results_model *, struct oval_result_system *) |
void | oval_results_model_lock (struct oval_results_model *result_model) |
Lock the result_model instance. | |
Getters | |
struct oval_definition_model * | oval_results_model_get_definition_model (struct oval_results_model *model) |
oval_results_model_definition_model Return bound object model from an oval_results_model. | |
struct oval_result_system_iterator * | oval_results_model_get_systems (struct oval_results_model *) |
Return iterator over reporting systems. | |
bool | oval_results_model_is_locked (struct oval_results_model *result_model) |
Return true if the result_model instance is locked. | |
Evaluators | |
bool | oval_results_model_is_valid (struct oval_results_model *results_model) |
Return true if the results_model instance is valid. | |
Data Fields | |
struct oval_definition_model * | definition_model |
struct oval_collection * | systems |
bool | is_locked |
OVAL Results Model holds OVAL results structure instances.