Open SCAP Library

Data Structures | Functions
oval_entity.c File Reference

Open Vulnerability and Assessment Language. More...

`#include <stdlib.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include <libxml/tree.h>`
`#include "oval_definitions_impl.h"`
`#include "adt/oval_collection_impl.h"`
`#include "oval_agent_api_impl.h"`
`#include "oval_parser_impl.h"`
`#include "common/util.h"`
`#include "common/debug_priv.h"`
`#include "common/elements.h"`
`#include "common/_error.h"`

## Data Structures
struct | oval_entity
| OVAL entity. More...
struct | oval_consume_varref_context

## Functions
bool | oval_entity_iterator_has_more (struct oval_entity_iterator *oc_entity)
struct oval_entity * | oval_entity_iterator_next (struct oval_entity_iterator *oc_entity)
void | oval_entity_iterator_free (struct oval_entity_iterator *oc_entity)
char * | oval_entity_get_name (struct oval_entity *entity)
oval_entity_type_t | oval_entity_get_type (struct oval_entity *entity)
oval_datatype_t | oval_entity_get_datatype (struct oval_entity *entity)
oval_operation_t | oval_entity_get_operation (struct oval_entity *entity)
int | oval_entity_get_mask (struct oval_entity *entity)
oval_entity_varref_type_t | oval_entity_get_varref_type (struct oval_entity *entity)
struct oval_variable * | oval_entity_get_variable (struct oval_entity *entity)
struct oval_value * | oval_entity_get_value (struct oval_entity *entity)
struct oval_entity * | oval_entity_new (struct oval_definition_model *model)
struct oval_entity * | oval_entity_clone (struct oval_definition_model *new_model, struct oval_entity *old_entity)
void | oval_entity_free (struct oval_entity *entity)
void | oval_entity_set_type (struct oval_entity *entity, oval_entity_type_t type)
void | oval_entity_set_datatype (struct oval_entity *entity, oval_datatype_t datatype)
void | oval_entity_set_operation (struct oval_entity *entity, oval_operation_t operation)
void | oval_entity_set_mask (struct oval_entity *entity, int mask)
void | oval_entity_set_varref_type (struct oval_entity *entity, oval_entity_varref_type_t type)
void | oval_entity_set_variable (struct oval_entity *entity, struct oval_variable *variable)
void | oval_entity_set_value (struct oval_entity *entity, struct oval_value *value)
void | oval_entity_set_name (struct oval_entity *entity, char *name)
int | oval_entity_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, oscap_consumer_func consumer, void *user)
xmlNode * | oval_entity_to_dom (struct oval_entity *entity, xmlDoc *doc, xmlNode *parent)

## Detailed Description

Open Vulnerability and Assessment Language.

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