/home/pvrabec/openscap/openscap-0.5.6/src/OVAL/public/oval_results.h File Reference

Open Vulnerability and Assessment Language. More...

#include "oval_definitions.h"
#include "oval_system_characteristics.h"
#include <stdbool.h>

Go to the source code of this file.

Enumerations

enum  oval_result_t {
  OVAL_RESULT_INVALID = 0, OVAL_RESULT_TRUE = 1, OVAL_RESULT_FALSE = 2, OVAL_RESULT_UNKNOWN = 3,
  OVAL_RESULT_ERROR = 4, OVAL_RESULT_NOT_EVALUATED = 5, OVAL_RESULT_NOT_APPLICABLE = 6
}
enum  oval_result_directive_content_t { OVAL_DIRECTIVE_CONTENT_UNKNOWN = 0, OVAL_DIRECTIVE_CONTENT_THIN = 1, OVAL_DIRECTIVE_CONTENT_FULL = 2 }

Functions

struct oval_results_modeloval_results_model_new (struct oval_definition_model *definition_model, struct oval_syschar_model **)
 Create new oval_results_model.
bool oval_results_model_is_valid (struct oval_results_model *results_model)
 return true if the results_model instance is valid
bool oval_results_model_is_locked (struct oval_results_model *result_model)
 return true if the result_model instance is locked.
void oval_results_model_lock (struct oval_results_model *result_model)
 Lock the result_model instance.
struct oval_results_modeloval_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.
struct oval_definition_modeloval_results_model_get_definition_model (struct oval_results_model *model)
 oval_results_model_definition_model Return bound object 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.
void oval_results_model_add_system (struct oval_results_model *, struct oval_result_system *)
struct oval_result_directivesoval_results_model_import (struct oval_results_model *, struct oscap_import_source *, void *)
 load oval results from XML file.
struct oval_result_directivesoval_result_directives_new (struct oval_results_model *)
 Create new OVAL results directives.
bool oval_result_directives_is_valid (struct oval_result_directives *result_directives)
 return true if the result_directives instance is valid
bool oval_result_directives_is_locked (struct oval_result_directives *result_directives)
 return true if the result_directives instance is locked.
void oval_result_directives_free (struct oval_result_directives *)
 Destroy OVAL results directives.
int oval_results_model_export (struct oval_results_model *, struct oval_result_directives *, struct oscap_export_target *)
 export oval results to XML file.
bool oval_result_system_iterator_has_more (struct oval_result_system_iterator *)
struct oval_result_systemoval_result_system_iterator_next (struct oval_result_system_iterator *)
void oval_result_system_iterator_free (struct oval_result_system_iterator *)
struct
oval_result_definition_iterator
oval_result_system_get_definitions (struct oval_result_system *)
struct oval_result_test_iteratoroval_result_system_get_tests (struct oval_result_system *)
struct oval_syschar_modeloval_result_system_get_syschar_model (struct oval_result_system *)
struct oval_sysinfooval_result_system_get_sysinfo (struct oval_result_system *)
void oval_result_system_add_definition (struct oval_result_system *, struct oval_result_definition *)
void oval_result_system_add_test (struct oval_result_system *, struct oval_result_test *)
bool oval_result_definition_iterator_has_more (struct oval_result_definition_iterator *)
struct oval_result_definitionoval_result_definition_iterator_next (struct oval_result_definition_iterator *)
void oval_result_definition_iterator_free (struct oval_result_definition_iterator *)
struct oval_definitionoval_result_definition_get_definition (struct oval_result_definition *)
struct oval_result_systemoval_result_definition_get_system (struct oval_result_definition *)
int oval_result_definition_get_instance (struct oval_result_definition *)
oval_result_t oval_result_definition_get_result (struct oval_result_definition *)
struct oval_message_iterator * oval_result_definition_get_messages (struct oval_result_definition *)
struct oval_result_criteria_nodeoval_result_definition_get_criteria (struct oval_result_definition *)
void oval_result_definition_set_result (struct oval_result_definition *, oval_result_t)
void oval_result_definition_set_instance (struct oval_result_definition *, int)
void oval_result_definition_set_criteria (struct oval_result_definition *, struct oval_result_criteria_node *)
void oval_result_definition_add_message (struct oval_result_definition *, struct oval_message *)
bool oval_result_item_iterator_has_more (struct oval_result_item_iterator *)
struct oval_result_itemoval_result_item_iterator_next (struct oval_result_item_iterator *)
void oval_result_item_iterator_free (struct oval_result_item_iterator *)
struct oval_sysdataoval_result_item_get_sysdata (struct oval_result_item *)
oval_result_t oval_result_item_get_result (struct oval_result_item *)
struct oval_message_iterator * oval_result_item_get_messages (struct oval_result_item *)
bool oval_result_test_iterator_has_more (struct oval_result_test_iterator *)
struct oval_result_testoval_result_test_iterator_next (struct oval_result_test_iterator *)
void oval_result_test_iterator_free (struct oval_result_test_iterator *)
struct oval_testoval_result_test_get_test (struct oval_result_test *)
struct oval_result_systemoval_result_test_get_system (struct oval_result_test *)
oval_result_t oval_result_test_get_result (struct oval_result_test *)
int oval_result_test_get_instance (struct oval_result_test *)
struct oval_messageoval_result_test_get_message (struct oval_result_test *)
struct oval_result_item_iteratoroval_result_test_get_items (struct oval_result_test *)
struct
oval_variable_binding_iterator * 
oval_result_test_get_bindings (struct oval_result_test *)
bool oval_result_criteria_node_iterator_has_more (struct oval_result_criteria_node_iterator *)
struct oval_result_criteria_nodeoval_result_criteria_node_iterator_next (struct oval_result_criteria_node_iterator *)
void oval_result_criteria_node_iterator_free (struct oval_result_criteria_node_iterator *)
oval_criteria_node_type_t oval_result_criteria_node_get_type (struct oval_result_criteria_node *)
oval_result_t oval_result_criteria_node_get_result (struct oval_result_criteria_node *)
bool oval_result_criteria_node_get_negate (struct oval_result_criteria_node *)
oval_operator_t oval_result_criteria_node_get_operator (struct oval_result_criteria_node *)
struct
oval_result_criteria_node_iterator
oval_result_criteria_node_get_subnodes (struct oval_result_criteria_node *)
struct oval_result_testoval_result_criteria_node_get_test (struct oval_result_criteria_node *)
struct oval_result_definitionoval_result_criteria_node_get_extends (struct oval_result_criteria_node *)
bool oval_result_directives_get_reported (struct oval_result_directives *, oval_result_t)
oval_result_directive_content_t oval_result_directives_get_content (struct oval_result_directives *, oval_result_t)
void oval_result_directives_set_reported (struct oval_result_directives *, oval_result_t, bool)
void oval_result_directives_set_content (struct oval_result_directives *, oval_result_t, oval_result_directive_content_t)
struct oval_result_systemoval_result_system_new (struct oval_results_model *, struct oval_syschar_model *)
bool oval_result_system_is_valid (struct oval_result_system *result_system)
 return true if the result_system instance is valid
bool oval_result_system_is_locked (struct oval_result_system *result_system)
 return true if the result_system instance is locked.
struct oval_result_systemoval_result_system_clone (struct oval_results_model *new_model, struct oval_result_system *old_system)
void oval_result_system_free (struct oval_result_system *)
struct oval_result_definitionoval_result_definition_new (struct oval_result_system *, char *)
bool oval_result_definition_is_valid (struct oval_result_definition *result_definition)
 return true if the result_definition instance is valid
bool oval_result_definition_is_locked (struct oval_result_definition *result_definition)
 return true if the result_definition instance is locked.
struct oval_result_definitionoval_result_definition_clone (struct oval_result_system *new_system, struct oval_result_definition *old_definition)
void oval_result_definition_free (struct oval_result_definition *)
struct oval_result_testoval_result_test_new (struct oval_result_system *, char *)
bool oval_result_test_is_valid (struct oval_result_test *result_test)
 return true if the result_test instance is valid
bool oval_result_test_is_locked (struct oval_result_test *result_test)
 return true if the result_test instance is locked.
struct oval_result_testoval_result_test_clone (struct oval_result_system *new_system, struct oval_result_test *old_test)
void oval_result_test_free (struct oval_result_test *)
struct oval_result_itemoval_result_item_new (struct oval_result_system *, char *)
bool oval_result_item_is_valid (struct oval_result_item *result_item)
 return true if the result_item instance is valid
bool oval_result_item_is_locked (struct oval_result_item *result_item)
 return true if the result_item instance is locked.
struct oval_result_itemoval_result_item_clone (struct oval_result_system *new_system, struct oval_result_item *old_item)
void oval_result_item_free (struct oval_result_item *)
void oval_result_item_set_result (struct oval_result_item *, oval_result_t)
void oval_result_item_add_message (struct oval_result_item *, struct oval_message *)
void oval_result_test_set_result (struct oval_result_test *, oval_result_t)
void oval_result_test_set_instance (struct oval_result_test *test, int instance)
void oval_result_test_set_message (struct oval_result_test *, struct oval_message *)
void oval_result_test_add_item (struct oval_result_test *, struct oval_result_item *)
void oval_result_test_add_binding (struct oval_result_test *, struct oval_variable_binding *)
struct oval_result_criteria_nodeoval_result_criteria_node_new (struct oval_result_system *, oval_criteria_node_type_t, int,...)
bool oval_result_criteria_node_is_valid (struct oval_result_criteria_node *result_criteria_node)
 return true if the result_criteria_node instance is valid
bool oval_result_criteria_node_is_locked (struct oval_result_criteria_node *result_criteria_node)
 return true if the result_criteria_node instance is locked.
struct oval_result_criteria_nodeoval_result_criteria_node_clone (struct oval_result_system *new_system, struct oval_result_criteria_node *old_node)
void oval_result_criteria_node_free (struct oval_result_criteria_node *)
void oval_result_criteria_node_set_result (struct oval_result_criteria_node *, oval_result_t)
void oval_result_criteria_node_set_negate (struct oval_result_criteria_node *, bool)
void oval_result_criteria_node_set_operator (struct oval_result_criteria_node *, oval_operator_t)
void oval_result_criteria_node_add_subnode (struct oval_result_criteria_node *, struct oval_result_criteria_node *)
void oval_result_criteria_node_set_test (struct oval_result_criteria_node *, struct oval_result_test *)
void oval_result_criteria_node_set_extends (struct oval_result_criteria_node *, struct oval_result_definition *)
const char * oval_result_get_text (oval_result_t)

Detailed Description

Open Vulnerability and Assessment Language.

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


Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1