Open Vulnerability and Assessment Language. More...
#include <stdlib.h>#include <stdio.h>#include <string.h>#include "oval_definitions_impl.h"#include "oval_collection_impl.h"#include "oval_agent_api_impl.h"#include "../common/util.h"#include "../common/public/debug.h"Data Structures | |
| struct | oval_test |
| Handle: Oval_test. More... | |
Defines | |
| #define | STUB_OVAL_TEST 0 |
Typedefs | |
| typedef struct oval_test | oval_test_t |
Functions | |
| bool | oval_test_iterator_has_more (struct oval_test_iterator *oc_test) |
| Returns true if the iterator is not exhausted. | |
| struct oval_test * | oval_test_iterator_next (struct oval_test_iterator *oc_test) |
| Returns the next instance of Oval_test. | |
| void | oval_test_iterator_free (struct oval_test_iterator *oc_test) |
| Frees the iterator. | |
| oval_family_t | oval_test_get_family (struct oval_test *test) |
| Returns attribute Oval_test->family. | |
| oval_subtype_t | oval_test_get_subtype (struct oval_test *test) |
| Returns attribute Oval_test->subtype. | |
| struct oval_string_iterator * | oval_test_get_notes (struct oval_test *test) |
| Returns attribute Oval_test->notes. | |
| char * | oval_test_get_comment (struct oval_test *test) |
| Returns attribute Oval_test->comment. | |
| char * | oval_test_get_id (struct oval_test *test) |
| Returns attribute Oval_test->id. | |
| bool | oval_test_get_deprecated (struct oval_test *test) |
| Returns attribute Oval_test->deprecated. | |
| int | oval_test_get_version (struct oval_test *test) |
| Returns attribute Oval_test->version. | |
| oval_existence_t | oval_test_get_existence (struct oval_test *test) |
| Returns attribute Oval_test->existence. | |
| oval_check_t | oval_test_get_check (struct oval_test *test) |
| Returns attribute Oval_test->check. | |
| struct oval_object * | oval_test_get_object (struct oval_test *test) |
| Returns attribute Oval_test->object. | |
| struct oval_state * | oval_test_get_state (struct oval_test *test) |
| Returns attribute Oval_test->state. | |
| struct oval_test * | oval_test_new (struct oval_definition_model *model, char *id) |
| Construct new instance of Oval_test. | |
| bool | oval_test_is_valid (struct oval_test *test) |
| Returns true if Oval_test is valid. | |
| bool | oval_test_is_locked (struct oval_test *test) |
| return true if the test instance is locked. | |
| 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) |
| Construct instance of Oval_test. | |
| void | oval_test_set_deprecated (struct oval_test *test, bool deprecated) |
| Sets attribute Oval_test->deprecated. | |
| void | oval_test_set_version (struct oval_test *test, int version) |
| Sets attribute Oval_test->version. | |
| void | oval_test_set_subtype (struct oval_test *test, oval_subtype_t subtype) |
| Sets attributes Oval_test->subtype and Oval_test->family. | |
| void | oval_test_set_comment (struct oval_test *test, char *comm) |
| Sets a copy of the comment parameter to attribute Oval_test->comment. | |
| void | oval_test_set_existence (struct oval_test *test, oval_existence_t existence) |
| Sets attribute Oval_test->existence. | |
| void | oval_test_set_check (struct oval_test *test, oval_check_t check) |
| Sets attribute Oval_test->check. | |
| void | oval_test_set_object (struct oval_test *test, struct oval_object *object) |
| Sets attribute Oval_test->object. | |
| void | oval_test_set_state (struct oval_test *test, struct oval_state *state) |
| Sets attribute Oval_test->state. | |
| void | oval_test_add_note (struct oval_test *test, char *note) |
| Appends a copy of the note parameter to attribute Oval_test->notes. | |
| int | oval_test_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context) |
| void | oval_test_to_print (struct oval_test *test, char *indent, int idx) |
| xmlNode * | oval_test_to_dom (struct oval_test *test, xmlDoc *doc, xmlNode *parent) |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/
1.6.1