oval_test.c File Reference

Open Vulnerability and Assessment Language. More...

`#include <stdlib.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include "public/oval_types.h"`
`#include "oval_definitions_impl.h"`
`#include "adt/oval_collection_impl.h"`
`#include "oval_agent_api_impl.h"`
`#include "common/util.h"`
`#include "common/debug_priv.h"`
`#include "common/_error.h"`

## Data Structures

struct | oval_test
| An Oval_test specifies a technical control by identifying an oval_object that is evaluated on an instrumented host platform and, optionally, an Oval_state instance that matches the object query. More...

## Typedefs

typedef struct oval_test | oval_test_t

## Functions

bool | oval_test_iterator_has_more (struct oval_test_iterator *oc_test)
struct oval_test * | oval_test_iterator_next (struct oval_test_iterator *oc_test)
void | oval_test_iterator_free (struct oval_test_iterator *oc_test)
oval_family_t | oval_test_get_family (struct oval_test *test)
oval_subtype_t | oval_test_get_subtype (struct oval_test *test)
struct oval_string_iterator * | oval_test_get_notes (struct oval_test *test)
char * | oval_test_get_comment (struct oval_test *test)
char * | oval_test_get_id (struct oval_test *test)
bool | oval_test_get_deprecated (struct oval_test *test)
int | oval_test_get_version (struct oval_test *test)
oval_existence_t | oval_test_get_existence (struct oval_test *test)
oval_check_t | oval_test_get_check (struct oval_test *test)
oval_operator_t | oval_test_get_state_operator (struct oval_test *test)
struct oval_object * | oval_test_get_object (struct oval_test *test)
struct oval_state_iterator * | oval_test_get_states (struct oval_test *test)
struct oval_test * | oval_test_new (struct oval_definition_model *model, const char *id)
struct oval_test * | oval_test_clone (struct oval_definition_model *new_model, struct oval_test *old_test)
void | oval_test_free (struct oval_test *test)
void | oval_test_set_deprecated (struct oval_test *test, bool deprecated)
void | oval_test_set_version (struct oval_test *test, int version)
void | oval_test_set_subtype (struct oval_test *test, oval_subtype_t subtype)
void | oval_test_set_comment (struct oval_test *test, char *comm)
void | oval_test_set_existence (struct oval_test *test, oval_existence_t existence)
void | oval_test_set_state_operator (struct oval_test *test, oval_operator_t state_operator)
void | oval_test_set_check (struct oval_test *test, oval_check_t check)
void | oval_test_set_object (struct oval_test *test, struct oval_object *object)
void | oval_test_add_state (struct oval_test *test, struct oval_state *state)
void | oval_test_add_note (struct oval_test *test, char *note)
int | oval_test_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, void *usr)
xmlNode * | oval_test_to_dom (struct oval_test *test, xmlDoc *doc, xmlNode *parent)

## Detailed Description

Open Vulnerability and Assessment Language.

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