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/public/debug.h"Data Structures | |
| struct | oval_object |
| Handle: Oval_object. More... | |
Defines | |
| #define | STUB_OVAL_OBJECT 0 |
Typedefs | |
| typedef struct oval_object | oval_object_t |
Functions | |
| bool | oval_object_iterator_has_more (struct oval_object_iterator *oc_object) |
| Returns true if the iterator is not exhausted. | |
| struct oval_object * | oval_object_iterator_next (struct oval_object_iterator *oc_object) |
| Returns the next instance of Oval_object. | |
| void | oval_object_iterator_free (struct oval_object_iterator *oc_object) |
| Frees the iterator. | |
| oval_family_t | oval_object_get_family (struct oval_object *object) |
| Returns attribute Oval_object->family. | |
| oval_subtype_t | oval_object_get_subtype (struct oval_object *object) |
| Returns attribute Oval_object->subtype. | |
| const char * | oval_object_get_name (struct oval_object *object) |
| Returns the name of an Oval_object. | |
| struct oval_string_iterator * | oval_object_get_notes (struct oval_object *object) |
| Returns attribute Oval_object->notes. | |
| char * | oval_object_get_comment (struct oval_object *object) |
| Returns attribute Oval_object->comment. | |
| char * | oval_object_get_id (struct oval_object *object) |
| Returns attribute Oval_object->id. | |
| bool | oval_object_get_deprecated (struct oval_object *object) |
| Returns attribute Oval_object->deprecated. | |
| int | oval_object_get_version (struct oval_object *object) |
| Returns attribute Oval_object->version. | |
| struct oval_object_content_iterator * | oval_object_get_object_contents (struct oval_object *object) |
| Returns attribute Oval_object->contents. | |
| struct oval_behavior_iterator * | oval_object_get_behaviors (struct oval_object *object) |
| Returns attribute Oval_object->behaviors. | |
| struct oval_object * | oval_object_new (struct oval_definition_model *model, char *id) |
| Construct new intance of Oval_object. | |
| bool | oval_object_is_valid (struct oval_object *object) |
| return true if the object instance is valid | |
| bool | oval_object_is_locked (struct oval_object *object) |
| return true if the object instance is locked. | |
| struct oval_object * | oval_object_clone (struct oval_definition_model *new_model, struct oval_object *old_object) |
| void | oval_object_free (struct oval_object *object) |
| Free instance of Oval_object. | |
| void | oval_object_set_subtype (struct oval_object *object, oval_subtype_t subtype) |
| Sets attributes Oval_object->subtype and Oval_object->family. | |
| void | oval_object_add_note (struct oval_object *object, char *note) |
| Appends a copy of the note parameter to attribute Oval_object->notes. | |
| void | oval_object_set_comment (struct oval_object *object, char *comm) |
| Sets a copy of the comment parameter to attribute Oval_object->comment. | |
| void | oval_object_set_deprecated (struct oval_object *object, bool deprecated) |
| Sets attribute Oval_object->deprecated. | |
| void | oval_object_set_version (struct oval_object *object, int version) |
| Sets attribute Oval_object->version. | |
| void | oval_object_add_object_content (struct oval_object *object, struct oval_object_content *content) |
| Append instance of Oval_object_content to attribute Oval_object->object_contents. | |
| void | oval_object_add_behavior (struct oval_object *object, struct oval_behavior *behavior) |
| Append instance of Oval_behavior to attribute Oval_object->behaviors. | |
| int | oval_object_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context) |
| void | oval_object_to_print (struct oval_object *object, char *indent, int idx) |
| xmlNode * | oval_object_to_dom (struct oval_object *object, xmlDoc *doc, xmlNode *parent) |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/
1.6.1