/home/pvrabec/openscap/openscap-0.5.3/src/OVAL/api/oval_agent_api.h File Reference

OVAL agent API. More...

#include "oval_definitions.h"
#include "oval_system_characteristics.h"
#include "oval_results.h"

Go to the source code of this file.

Data Structures

struct  oval_xml_error

Typedefs

typedef int(* oval_xml_error_handler )(struct oval_xml_error *, void *user_arg)
 OVAL XML error handler function pointer type.

Enumerations

enum  oval_xml_severity_t {
  XML_VALIDITY_WARNING = 1, XML_VALIDITY_ERROR = 2, XML_WARNING = 3, XML_ERROR = 4,
  OVAL_LOG_INFO = 15, OVAL_LOG_DEBUG = 16, OVAL_LOG_WARN = 17
}
 

severity level


Functions

struct oval_import_sourceoval_import_source_new_file (char *filename)
 Create an import source from filename.
void oval_import_source_free (struct oval_import_source *source)
 free a specified import_source.
struct oval_export_targetoval_export_target_new_file (char *filename, char *encoding)
 create export_target object.
void oval_export_target_free (struct oval_export_target *target)
 free an export_target object.
struct oval_object_modeloval_object_model_new ()
 Create an empty oval_object_model.
void oval_object_model_free (struct oval_object_model *model)
int oval_object_model_export (struct oval_object_model *, struct oval_export_target *)
void oval_object_model_add_definition (struct oval_object_model *, struct oval_definition *)
void oval_object_model_add_test (struct oval_object_model *, struct oval_test *)
void oval_object_model_add_object (struct oval_object_model *, struct oval_object *)
void oval_object_model_add_state (struct oval_object_model *, struct oval_state *)
void oval_object_model_add_variable (struct oval_object_model *, struct oval_variable *)
void oval_object_model_add_sysinfo (struct oval_object_model *, struct oval_sysinfo *)
bool oval_syschar_model_add_variable_binding (struct oval_syschar_model *, struct oval_variable_binding *)
void oval_results_model_add_system (struct oval_results_model *, struct oval_result_system *)
int oval_results_model_export (struct oval_results_model *, struct oval_result_directives *, struct oval_export_target *)
 export oval results to XML file.

Detailed Description

OVAL agent API.

Author:
"David Niemoller" <David.Niemoller@g2-inc.com>

Generated on 29 Sep 2009 for Open SCAP Library by  doxygen 1.6.1