Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
oval_resModel.c File Reference

Detailed Description

Open Vulnerability and Assessment Language.

See more details at http://oval.mitre.org/

#include <string.h>
#include <time.h>
#include "oval_definitions_impl.h"
#include "oval_agent_api_impl.h"
#include "oval_parser_impl.h"
#include "adt/oval_string_map_impl.h"
#include "oval_system_characteristics_impl.h"
#include "oval_probe_impl.h"
#include "results/oval_results_impl.h"
#include "oval_directives_impl.h"
#include "common/util.h"
#include "common/debug_priv.h"
#include "common/_error.h"
#include "common/elements.h"
#include "oscap_source.h"
#include "source/oscap_source_priv.h"

Data Structures

struct  oval_results_model
 OVAL Results Model holds OVAL results structure instances. More...
 

Functions

struct oval_results_modeloval_results_model_new (struct oval_definition_model *definition_model, struct oval_syschar_model **syschar_models)
 
struct oval_results_modeloval_results_model_new_with_probe_session (struct oval_definition_model *definition_model, struct oval_syschar_model **syschar_models, struct oval_probe_session *probe_session)
 
struct oval_results_modeloval_results_model_clone (struct oval_results_model *old_resmodel)
 
void oval_results_model_set_export_system_characteristics (struct oval_results_model *model, bool export)
 
bool oval_results_model_get_export_system_characteristics (struct oval_results_model *model)
 
void oval_results_model_free (struct oval_results_model *model)
 
struct oval_generatoroval_results_model_get_generator (struct oval_results_model *model)
 
void oval_results_model_set_generator (struct oval_results_model *model, struct oval_generator *generator)
 
struct oval_directives_modeloval_results_model_get_directives_model (struct oval_results_model *model)
 
struct oval_definition_modeloval_results_model_get_definition_model (struct oval_results_model *model)
 
struct
oval_result_system_iterator
oval_results_model_get_systems (struct oval_results_model *model)
 
struct oval_probe_sessionoval_results_model_get_probe_session (struct oval_results_model *model)
 
void oval_results_model_add_system (struct oval_results_model *model, struct oval_result_system *sys)
 
int oval_results_model_import_source (struct oval_results_model *model, struct oscap_source *source)
 
int oval_results_model_import (struct oval_results_model *model, const char *file)
 
int oval_results_model_eval (struct oval_results_model *res_model)
 Evaluate all result_systems. More...
 
struct oscap_sourceoval_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. More...
 
int oval_results_model_export (struct oval_results_model *results_model, struct oval_directives_model *directives_model, const char *file)
 
int oval_results_model_parse (xmlTextReaderPtr reader, struct oval_parser_context *context)