OVAL Results Model holds OVAL results structure instances. More...
#include <oval_results.h>
Public Member Functions | |
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_result_directives * | oval_results_model_import (struct oval_results_model *model, const char *file) |
Import the content from the file into an oval_result_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. | |
int | oval_results_model_export (struct oval_results_model *, struct oval_result_directives *, const char *file) |
Export oval results into 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) |
Return bound definition 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) |
Evaluators | |
bool | oval_results_model_is_valid (struct oval_results_model *results_model) |
Return true if the results_model instance is valid An oval_results_model is valid if all the following are true
| |
Data Fields | |
struct oval_definition_model * | definition_model |
struct oval_collection * | systems |
bool | is_locked |
char * | schema |
OVAL Results Model holds OVAL results structure instances.