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 "adt/oval_collection_impl.h"
#include "common/util.h"
#include "common/debug_priv.h"
#include "common/elements.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)
 oval_value_iterator
struct oval_valueoval_value_iterator_next (struct oval_value_iterator *oc_value)
 oval_value_iterator
void oval_value_iterator_free (struct oval_value_iterator *oc_value)
 oval_value_iterator
int oval_value_iterator_remaining (struct oval_value_iterator *iterator)
 oval_value_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 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)
 oval_value
struct oval_valueoval_value_clone (struct oval_value *old_value)
void oval_value_free (struct oval_value *value)
 oval_value
int oval_value_cast (struct oval_value *value, oval_datatype_t new_dt)
void oval_value_set_datatype (struct oval_value *value, oval_datatype_t datatype)
 oval_value
int oval_value_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, oval_value_consumer consumer, void *user)
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 Tue Nov 14 12:18:55 2017 for Open SCAP Library by  doxygen 1.5.6