Loading...
Searching...
No Matches
oval_defModel.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 "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_defModel.c:

## Data Structures

struct | oval_definition_model
| Oval definition model. More...

## Typedefs

typedef struct oval_definition_model | oval_definition_model_t
typedef void *(* | _oval_clone_func) (void *, struct oval_definition_model *)

## Functions

struct oval_definition_model * | oval_definition_model_new ()
struct oval_definition_model * | oval_definition_model_clone (struct oval_definition_model *oldmodel)
void | oval_definition_model_free (struct oval_definition_model *model)
struct oval_generator * | oval_definition_model_get_generator (struct oval_definition_model *model)
void | oval_definition_model_set_generator (struct oval_definition_model *model, struct oval_generator *generator)
const char * | oval_definition_model_get_schema (struct oval_definition_model *model)
oval_schema_version_t | oval_definition_model_get_core_schema_version (struct oval_definition_model *model)
oval_schema_version_t | oval_definition_model_get_platform_schema_version (struct oval_definition_model *model, const char *platform)
void | oval_definition_model_add_definition (struct oval_definition_model *model, struct oval_definition *definition)
void | oval_definition_model_set_schema (struct oval_definition_model *model, const char *version)
void | oval_definition_model_add_test (struct oval_definition_model *model, struct oval_test *test)
void | oval_definition_model_add_object (struct oval_definition_model *model, struct oval_object *object)
void | oval_definition_model_add_state (struct oval_definition_model *model, struct oval_state *state)
void | oval_definition_model_add_variable (struct oval_definition_model *model, struct oval_variable *variable)
struct oval_definition_model * | oval_definition_model_import_source (struct oscap_source *source)
struct oval_definition * | oval_definition_model_get_definition (struct oval_definition_model *model, const char *key)
struct oval_test * | oval_definition_model_get_test (struct oval_definition_model *model, const char *key)
struct oval_object * | oval_definition_model_get_object (struct oval_definition_model *model, const char *key)
struct oval_state * | oval_definition_model_get_state (struct oval_definition_model *model, const char *key)
struct oval_variable * | oval_definition_model_get_variable (struct oval_definition_model *model, const char *key)
int | oval_definition_model_bind_variable_model (struct oval_definition_model *defmodel, struct oval_variable_model *varmodel)
struct oval_variable_model_iterator * | oval_definition_model_get_variable_models (struct oval_definition_model *model)
void | oval_definition_model_clear_external_variables (struct oval_definition_model *model)
struct oval_definition_iterator * | oval_definition_model_get_definitions (struct oval_definition_model *model)
struct oval_string_iterator * | oval_definition_model_get_definitions_dependent_on_variable (struct oval_definition_model *model, struct oval_variable *variable)
struct oval_test_iterator * | oval_definition_model_get_tests (struct oval_definition_model *model)
struct oval_object_iterator * | oval_definition_model_get_objects (struct oval_definition_model *model)
struct oval_state_iterator * | oval_definition_model_get_states (struct oval_definition_model *model)
struct oval_variable_iterator * | oval_definition_model_get_variables (struct oval_definition_model *model)
struct oval_definition * | oval_definition_model_get_new_definition (struct oval_definition_model *model, const char *id)
struct oval_variable * | oval_definition_model_get_new_variable (struct oval_definition_model *model, const char *id, oval_variable_type_t type)
struct oval_state * | oval_definition_model_get_new_state (struct oval_definition_model *model, const char *id)
struct oval_object * | oval_definition_model_get_new_object (struct oval_definition_model *model, const char *id)
struct oval_test * | oval_definition_model_get_new_test (struct oval_definition_model *model, const char *id)
xmlNode * | oval_definition_model_to_dom (struct oval_definition_model *definition_model, xmlDocPtr doc, xmlNode *parent)
int | oval_definition_model_export (struct oval_definition_model *model, const char *file)
void | oval_definition_model_optimize_by_filter_propagation (struct oval_definition_model *model)

## Detailed Description

Open Vulnerability and Assessment Language.

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