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

Detailed Description

Open Vulnerability and Assessment Language.

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

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oval_definitions.h"
#include "oval_agent_api.h"
#include "oval_agent_api_impl.h"
#include "results/oval_results_impl.h"
#include "adt/oval_collection_impl.h"
#include "adt/oval_smc_impl.h"
#include "adt/oval_smc_iterator_impl.h"
#include "adt/oval_string_map_impl.h"
#include "oval_parser_impl.h"
#include "common/debug_priv.h"
#include "common/_error.h"
#include "common/util.h"

Data Structures

struct  oval_result_system
 

Typedefs

typedef struct oval_result_system oval_result_system_t
 

Functions

struct oval_result_systemoval_result_system_new (struct oval_results_model *model, struct oval_syschar_model *syschar_model)
 
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 *sys)
 
bool oval_result_system_iterator_has_more (struct oval_result_system_iterator *sys)
 
struct oval_result_systemoval_result_system_iterator_next (struct oval_result_system_iterator *sys)
 
void oval_result_system_iterator_free (struct oval_result_system_iterator *sys)
 
struct
oval_result_definition_iterator
oval_result_system_get_definitions (struct oval_result_system *sys)
 
struct oval_result_test_iteratoroval_result_system_get_tests (struct oval_result_system *sys)
 
struct oval_result_definitionoval_result_system_get_definition (struct oval_result_system *sys, const char *id)
 
struct oval_result_testoval_result_system_get_test (struct oval_result_system *sys, char *id)
 
struct oval_result_definitionoval_result_system_get_new_definition (struct oval_result_system *sys, struct oval_definition *oval_definition, int variable_instance)
 
struct oval_result_testoval_result_system_get_new_test (struct oval_result_system *sys, struct oval_test *oval_test, int variable_instance)
 
struct oval_results_modeloval_result_system_get_results_model (struct oval_result_system *sys)
 
struct oval_syschar_modeloval_result_system_get_syschar_model (struct oval_result_system *sys)
 
struct oval_sysinfooval_result_system_get_sysinfo (struct oval_result_system *sys)
 
void oval_result_system_add_definition (struct oval_result_system *sys, struct oval_result_definition *definition)
 
void oval_result_system_add_test (struct oval_result_system *sys, struct oval_result_test *test)
 
int oval_result_system_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, void *usr)
 
int oval_result_system_eval (struct oval_result_system *sys)
 
int oval_result_system_eval_definition (struct oval_result_system *sys, const char *id)
 
struct oval_result_definitionoval_result_system_prepare_definition (struct oval_result_system *sys, const char *id)
 
xmlNode * oval_result_system_to_dom (struct oval_result_system *sys, struct oval_results_model *results_model, struct oval_directives_model *directives_model, xmlDocPtr doc, xmlNode *parent)