Open SCAP Library
Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
oval_sysModel.c File Reference

Open Vulnerability and Assessment Language. More...

#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 "adt/oval_smc_impl.h"
#include "adt/oval_smc_iterator_impl.h"
#include "oval_system_characteristics_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"
Include dependency graph for oval_sysModel.c:

Data Structures

struct  oval_syschar_model
 OVAL System Characteristics model. More...
 

Typedefs

typedef struct oval_syschar_model oval_syschar_model_t
 Represents <oval_system_characteristics> element.
 
typedef void *(* _oval_clone_func) (void *, struct oval_syschar_model *)
 

Functions

struct oval_syschar_modeloval_syschar_model_new (struct oval_definition_model *definition_model)
 
struct oval_syschar_modeloval_syschar_model_clone (struct oval_syschar_model *old_model)
 
void oval_syschar_model_free (struct oval_syschar_model *model)
 
void oval_syschar_model_reset (struct oval_syschar_model *model)
 
struct oval_generatoroval_syschar_model_get_generator (struct oval_syschar_model *model)
 
void oval_syschar_model_set_generator (struct oval_syschar_model *model, struct oval_generator *generator)
 
struct oval_definition_modeloval_syschar_model_get_definition_model (struct oval_syschar_model *model)
 
struct oval_syschar_iteratoroval_syschar_model_get_syschars (struct oval_syschar_model *model)
 
struct oval_sysinfooval_syschar_model_get_sysinfo (struct oval_syschar_model *model)
 
const char * oval_syschar_model_get_schema (struct oval_syschar_model *model)
 
void oval_syschar_model_set_sysinfo (struct oval_syschar_model *model, struct oval_sysinfo *sysinfo)
 
void oval_syschar_model_set_schema (struct oval_syschar_model *model, const char *schema)
 
void oval_syschar_model_add_syschar (struct oval_syschar_model *model, struct oval_syschar *syschar)
 
void oval_syschar_model_add_sysitem (struct oval_syschar_model *model, struct oval_sysitem *sysitem)
 
int oval_syschar_model_import_source (struct oval_syschar_model *model, struct oscap_source *source)
 
int oval_syschar_model_bind_variable_model (struct oval_syschar_model *sysmodel, struct oval_variable_model *varmodel)
 
struct oval_syscharoval_syschar_model_get_syschar (struct oval_syschar_model *model, const char *object_id)
 
struct oval_sysitemoval_syschar_model_get_sysitem (struct oval_syschar_model *model, const char *id)
 
struct oval_syscharoval_syschar_model_get_new_syschar (struct oval_syschar_model *model, struct oval_object *object)
 
struct oval_sysitemoval_syschar_model_get_new_sysitem (struct oval_syschar_model *model, const char *id)
 
xmlNode * oval_syschar_model_to_dom (struct oval_syschar_model *syschar_model, xmlDocPtr doc, xmlNode *parent, oval_syschar_resolver resolver, void *user_arg, bool export_syschar)
 
int oval_syschar_model_export (struct oval_syschar_model *model, const char *file)
 

Detailed Description

Open Vulnerability and Assessment Language.

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