43 #ifndef OVAL_RESULTS_H_
44 #define OVAL_RESULTS_H_
47 #include "oscap_source.h"
153 void oval_results_model_set_export_system_characteristics(
struct oval_results_model *,
bool export);
158 bool oval_results_model_get_export_system_characteristics(
struct oval_results_model *);
471 void oval_result_test_set_instance(
struct oval_result_test *test,
int instance);
oval_operator_t
Boolean operators.
Definition: oval_definitions.h:75
OVAL System Characteristics model.
Definition: oval_sysModel.c:54
int oval_result_system_eval(struct oval_result_system *sys)
Function evaluates all OVAL definitions of specified result_system.
Definition: oval_resultSystem.c:331
Definition: oval_results.h:65
Definition: oval_results.h:75
Definition: oval_resultSystem.c:54
General instrumented host description.
Definition: oval_sysInfo.c:45
OVAL Results Model holds OVAL results structure instances.
Definition: oval_resModel.c:54
Oval definition specification.
Definition: oval_definition.c:54
oval_criteria_node_type_t
Criteria node type.
Definition: oval_definitions.h:67
General OpenScap functions and types.
Definition: oval_system_characteristics.h:181
This structure holds instance of OVAL Directives.
struct oval_directives_model * oval_results_model_get_directives_model(struct oval_results_model *model)
Return the OVAL directives model.
Definition: oval_resModel.c:149
#define OSCAP_DEPRECATED(func)
This macro will warn, when a deprecated function is used.
Definition: oscap.h:50
struct oval_results_model * oval_results_model_new(struct oval_definition_model *definition_model, struct oval_syschar_model **)
Create new oval_results_model.
Definition: oval_resModel.c:63
Definition: oval_results.h:95
OVAL message.
Definition: oval_message.c:45
Binding of an value to an OVAL variable.
Definition: oval_variableBinding.c:45
struct oval_result_definition * oval_result_definition_clone(struct oval_result_system *new_system, struct oval_result_definition *old_definition)
Definition: oval_resultDefinition.c:75
Each instance of Oval_sysitem represents one item.
Definition: oval_sysItem.c:45
struct oval_results_model * oval_results_model_clone(struct oval_results_model *)
Copy an oval_results_model.
Definition: oval_resModel.c:95
Definition: oval_system_characteristics.h:171
void oval_results_model_free(struct oval_results_model *model)
Free memory allocated to a specified oval results model.
Definition: oval_resModel.c:121
struct oval_result_system_iterator * oval_results_model_get_systems(struct oval_results_model *)
Return iterator over reporting systems.
Definition: oval_resModel.c:161
struct oval_definition_model * oval_results_model_get_definition_model(struct oval_results_model *model)
Return bound definition model from an oval_results_model.
Definition: oval_resModel.c:155
Definition: oval_results.h:106
struct oval_result_test * oval_result_test_clone(struct oval_result_system *new_system, struct oval_result_test *old_test)
Definition: oval_resultTest.c:83
int oval_results_model_import_source(struct oval_results_model *model, struct oscap_source *source)
Import the content from the oscap_source into an oval_result_model.
Definition: oval_resModel.c:182
int oval_results_model_import(struct oval_results_model *model, const char *file)
Import the content from the file into an oval_result_model.
Definition: oval_resModel.c:221
Definition: oval_results.h:85
int oval_results_model_eval(struct oval_results_model *)
Evaluate all result_systems.
Definition: oval_resModel.c:236
Definition: oscap_source.c:62
struct oscap_source * oval_results_model_export_source(struct oval_results_model *results_model, struct oval_directives_model *directives_model, const char *name)
Export OVAL results into oscap_source.
Definition: oval_resModel.c:304
struct oval_result_item * oval_result_item_clone(struct oval_result_system *new_system, struct oval_result_item *old_item)
Definition: oval_resultItem.c:69
int oval_results_model_export(struct oval_results_model *, struct oval_directives_model *, const char *file)
Export oval results into file.
Definition: oval_resModel.c:318
const char * oval_result_definition_get_id(const struct oval_result_definition *rslt_definition)
Returns the attribute of a given result definition.
Definition: oval_resultDefinition.c:354
int oval_result_system_eval_definition(struct oval_result_system *sys, const char *id)
Function evaluates specified OVAL definition in result_system.
Definition: oval_resultSystem.c:354
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition: oval_types.h:327
Definition: oval_resultDefinition.c:46
Oval definition model.
Definition: oval_defModel.c:51
Definition: oval_resultCriteriaNode.c:46
Definition: oval_resultItem.c:44
An Oval_test specifies a technical control by identifying an oval_object that is evaluated on an inst...
Definition: oval_test.c:48
struct oval_result_criteria_node * oval_result_criteria_node_clone(struct oval_result_system *new_system, struct oval_result_criteria_node *old_node)
Definition: oval_resultCriteriaNode.c:153
struct oval_result_system * oval_result_system_clone(struct oval_results_model *new_model, struct oval_result_system *old_system)
Definition: oval_resultSystem.c:125
Definition: oval_generator.c:44
Definition: oval_resultTest.c:51