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_string_map_impl.h"#include "oval_agent_api_impl.h"#include "../common/util.h"#include "../common/public/debug.h"#include "../common/_error.h"Data Structures | |
| struct | oval_definition |
| Handle: Oval_definition. More... | |
Typedefs | |
| typedef struct oval_definition | oval_definition_t |
Functions | |
| char * | oval_definition_get_id (struct oval_definition *definition) |
| Returns attribute Oval_definition->id (identifier). | |
| int | oval_definition_get_version (struct oval_definition *definition) |
| Returns attribute Oval_definition->version. | |
| oval_definition_class_t | oval_definition_get_class (struct oval_definition *definition) |
| Returns attribute Oval_definition->class. | |
| bool | oval_definition_get_deprecated (struct oval_definition *definition) |
| Returns attribute Oval_definition->deprecated. | |
| char * | oval_definition_get_title (struct oval_definition *definition) |
| Returns attribute Oval_definition->title. | |
| char * | oval_definition_get_description (struct oval_definition *definition) |
| Returns attribute Oval_definition->description. | |
| struct oval_affected_iterator * | oval_definition_get_affected (struct oval_definition *definition) |
| Returns attribute Oval_definition->affected. | |
| struct oval_reference_iterator * | oval_definition_get_references (struct oval_definition *definition) |
| Returns attribute Oval_definition->references. | |
| struct oval_string_iterator * | oval_definition_get_notes (struct oval_definition *definition) |
| Returns attribute Oval_definition->notes. | |
| struct oval_criteria_node * | oval_definition_get_criteria (struct oval_definition *definition) |
| Returns attribute Oval_definition->criteria. | |
| struct oval_definition * | oval_definition_new (struct oval_definition_model *model, char *id) |
| Construct an instance of Oval_definition. | |
| bool | oval_definition_is_valid (struct oval_definition *definition) |
| Returns true if the Oval_definition is valid. | |
| bool | oval_definition_is_locked (struct oval_definition *definition) |
| return true if the definition instance is locked. | |
| struct oval_definition * | oval_definition_clone (struct oval_definition_model *new_model, struct oval_definition *old_definition) |
| void | oval_definition_free (struct oval_definition *definition) |
| Release an instance of Oval_definition. | |
| bool | oval_definition_iterator_has_more (struct oval_definition_iterator *oc_definition) |
| Returns true if the iterator contains more instances of Oval_definition. | |
| struct oval_definition * | oval_definition_iterator_next (struct oval_definition_iterator *oc_definition) |
| Returns the next iterated instance of Oval_definition. | |
| void | oval_definition_iterator_free (struct oval_definition_iterator *oc_definition) |
| Free the iterator. | |
| void | oval_definition_set_version (struct oval_definition *definition, int version) |
| Set attribute Oval_definition->version. | |
| void | oval_definition_set_class (struct oval_definition *definition, oval_definition_class_t class) |
| Set attribute Oval_definition->class. | |
| void | oval_definition_set_deprecated (struct oval_definition *definition, bool deprecated) |
| Set attribute Oval_definition->deprecated. | |
| void | oval_definition_set_title (struct oval_definition *definition, char *title) |
| Set attribute Oval_definition->title. | |
| void | oval_definition_set_description (struct oval_definition *definition, char *description) |
| Set attribute Oval_definition->description. | |
| void | oval_definition_set_criteria (struct oval_definition *definition, struct oval_criteria_node *criteria) |
| Set attribute Oval_definition->criteria. | |
| void | oval_definition_add_affected (struct oval_definition *definition, struct oval_affected *affected) |
| Append instance of Oval_affected to attribute Oval_definition->affected. | |
| void | oval_definition_add_reference (struct oval_definition *definition, struct oval_reference *ref) |
| Append instance of Oval_reference to attribute Oval_definition->references. | |
| void | oval_definition_add_note (struct oval_definition *definition, char *note) |
| Append a copy of the note parameter to attribute Oval_definition->notes. | |
| int | oval_definition_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context) |
| void | oval_definition_to_print (struct oval_definition *definition, char *indent, int idx) |
| xmlNode * | oval_definition_to_dom (struct oval_definition *definition, xmlDoc *doc, xmlNode *parent) |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/
1.6.1