/home/pvrabec/openscap/openscap-0.5.6/src/OVAL/oval_value.c File Reference

Open Vulnerability and Assessment Language. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include "oval_definitions_impl.h"
#include "oval_collection_impl.h"
#include "../common/util.h"
#include "../common/public/debug.h"

Data Structures

struct  oval_value
 OVAL object or item entity value. More...

Typedefs

typedef struct oval_value oval_value_t

Functions

bool oval_value_iterator_has_more (struct oval_value_iterator *oc_value)
struct oval_valueoval_value_iterator_next (struct oval_value_iterator *oc_value)
void oval_value_iterator_free (struct oval_value_iterator *oc_value)
int oval_value_iterator_remaining (struct oval_value_iterator *iterator)
oval_datatype_t oval_value_get_datatype (struct oval_value *value)
 Get OVAL value datatype.
char * oval_value_get_text (struct oval_value *value)
 Get OVAL value as a text.
unsigned char * oval_value_get_binary (struct oval_value *value)
 Get OVAL value as a piece of raw binary data.
bool oval_value_get_boolean (struct oval_value *value)
 Get OVAL value as a boolean.
float oval_value_get_float (struct oval_value *value)
 Get OVAL value as a floating point number.
long oval_value_get_integer (struct oval_value *value)
 Get OVAL value as an integer.
struct oval_valueoval_value_new (oval_datatype_t datatype, char *text_value)
bool oval_value_is_valid (struct oval_value *value)
 return true if the value instance is valid
bool oval_value_is_locked (struct oval_value *value)
 return true if the value instance is locked.
struct oval_valueoval_value_clone (struct oval_value *old_value)
void oval_value_free (struct oval_value *value)
int oval_value_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, oval_value_consumer consumer, void *user)
void oval_value_to_print (struct oval_value *value, char *indent, int idx)
xmlNode * oval_value_to_dom (struct oval_value *value, xmlDoc *doc, xmlNode *parent)

Detailed Description

Open Vulnerability and Assessment Language.

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


Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1