Open SCAP Library

Data Structures | Typedefs | Functions
oval_object.c File Reference

Open Vulnerability and Assessment Language. More...

`#include <stdlib.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include "oval_definitions_impl.h"`
`#include "adt/oval_collection_impl.h"`
`#include "oval_agent_api_impl.h"`
`#include "common/debug_priv.h"`
`#include "common/elements.h"`
`#include "public/oval_version.h"`
`#include "public/oval_schema_version.h"`

## Data Structures
struct | oval_object
| An Oval_object instance describes a set of items to look for on an instrumented host platform. More...

## Typedefs
typedef struct oval_object | oval_object_t

## Functions
bool | oval_object_iterator_has_more (struct oval_object_iterator *oc_object)
struct oval_object * | oval_object_iterator_next (struct oval_object_iterator *oc_object)
void | oval_object_iterator_free (struct oval_object_iterator *oc_object)
oval_family_t | oval_object_get_family (struct oval_object *object)
oval_subtype_t | oval_object_get_subtype (struct oval_object *object)
const char * | oval_object_get_name (struct oval_object *object)
struct oval_string_iterator * | oval_object_get_notes (struct oval_object *object)
char * | oval_object_get_comment (struct oval_object *object)
char * | oval_object_get_id (struct oval_object *object)
bool | oval_object_get_deprecated (struct oval_object *object)
int | oval_object_get_version (struct oval_object *object)
oval_version_t | oval_object_get_schema_version (struct oval_object *object)
| Returns schema version of the associated definition model.
oval_schema_version_t | oval_object_get_platform_schema_version (struct oval_object *object)
struct oval_object_content_iterator * | oval_object_get_object_contents (struct oval_object *object)
struct oval_behavior_iterator * | oval_object_get_behaviors (struct oval_object *object)
struct oval_object * | oval_object_new (struct oval_definition_model *model, const char *id)
struct oval_object * | oval_object_clone2 (struct oval_definition_model *new_model, struct oval_object *old_object, char *new_id)
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)
void | oval_object_set_subtype (struct oval_object *object, oval_subtype_t subtype)
void | oval_object_add_note (struct oval_object *object, char *note)
void | oval_object_set_comment (struct oval_object *object, char *comm)
void | oval_object_set_deprecated (struct oval_object *object, bool deprecated)
void | oval_object_set_version (struct oval_object *object, int version)
void | oval_object_add_object_content (struct oval_object *object, struct oval_object_content *content)
void | oval_object_add_behavior (struct oval_object *object, struct oval_behavior *behavior)
int | oval_object_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, void *usr)
xmlNode * | oval_object_to_dom (struct oval_object *object, xmlDoc *doc, xmlNode *parent)
struct oval_object * | oval_object_create_internal (struct oval_object *obj, char *set_id)
struct oval_object * | oval_object_get_base_obj (struct oval_object *obj)

## Detailed Description

Open Vulnerability and Assessment Language.

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