43#ifndef OVAL_RESULTS_H_
44#define OVAL_RESULTS_H_
47#include "oscap_source.h"
52#include "oscap_export.h"
143OSCAP_API
void oval_results_model_set_export_system_characteristics(
struct oval_results_model *,
bool export);
148OSCAP_API
bool oval_results_model_get_export_system_characteristics(
struct oval_results_model *);
461OSCAP_API
void oval_result_test_set_instance(
struct oval_result_test *test,
int instance);
oval_criteria_node_type_t
Criteria node type.
Definition oval_definitions.h:67
oval_operator_t
Boolean operators.
Definition oval_definitions.h:75
OSCAP_API 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:67
OSCAP_API 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
OSCAP_API int oval_result_system_eval(struct oval_result_system *sys)
Function evaluates all OVAL definitions of specified result_system.
Definition oval_resultSystem.c:344
OSCAP_API 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:367
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition oval_types.h:445
OSCAP_API 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:299
OSCAP_API 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
OSCAP_API struct oval_result_system * oval_result_system_clone(struct oval_results_model *new_model, struct oval_result_system *old_system)
Definition oval_resultSystem.c:126
OSCAP_API 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:313
OSCAP_API struct oval_results_model * oval_results_model_clone(struct oval_results_model *)
Copy an oval_results_model.
Definition oval_resModel.c:103
OSCAP_API void oval_results_model_free(struct oval_results_model *model)
Free memory allocated to a specified oval results model.
Definition oval_resModel.c:129
OSCAP_API 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:192
OSCAP_API 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
OSCAP_API struct oval_result_test * oval_result_test_clone(struct oval_result_system *new_system, struct oval_result_test *old_test)
Definition oval_resultTest.c:85
OSCAP_API int oval_results_model_eval(struct oval_results_model *)
Evaluate all result_systems.
Definition oval_resModel.c:231
General OpenScap functions and types.
Definition oscap_source.c:66
Oval definition model.
Definition oval_defModel.c:53
Oval definition specification.
Definition oval_definition.c:53
This structure holds instance of OVAL Directives.
Definition oval_generator.c:47
OVAL message.
Definition oval_message.c:45
Definition oval_resultCriteriaNode.c:46
Definition oval_resultDefinition.c:46
Definition oval_resultItem.c:44
Definition oval_resultSystem.c:55
Definition oval_resultTest.c:53
OVAL Results Model holds OVAL results structure instances.
Definition oval_resModel.c:56
OVAL System Characteristics model.
Definition oval_sysModel.c:56
General instrumented host description.
Definition oval_sysInfo.c:45
Each instance of Oval_sysitem represents one item.
Definition oval_sysItem.c:45
An Oval_test specifies a technical control by identifying an oval_object that is evaluated on an inst...
Definition oval_test.c:48
Binding of an value to an OVAL variable.
Definition oval_variableBinding.c:45