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_string_map_impl.h"
#include "oval_agent_api_impl.h"
#include "oval_parser_impl.h"
Data Structures | |
struct | oval_component |
OVAL variable component. More... | |
struct | oval_component_LITERAL |
struct | oval_component_OBJECTREF |
struct | oval_component_VARREF |
struct | oval_component_FUNCTION |
struct | oval_component_ARITHMETIC |
struct | oval_component_BEGEND |
struct | oval_component_SPLIT |
struct | oval_component_SUBSTRING |
struct | oval_component_TIMEDIF |
struct | oval_component_REGEX_CAPTURE |
Typedefs | |
typedef struct oval_component | oval_component_t |
typedef struct oval_component_LITERAL | oval_component_LITERAL_t |
typedef struct oval_component_OBJECTREF | oval_component_OBJECTREF_t |
typedef struct oval_component_VARREF | oval_component_VARREF_t |
typedef struct oval_component_FUNCTION | oval_component_FUNCTION_t |
typedef struct oval_component_ARITHMETIC | oval_component_ARITHMETIC_t |
typedef struct oval_component_BEGEND | oval_component_BEGEND_t |
typedef struct oval_component_SPLIT | oval_component_SPLIT_t |
typedef struct oval_component_SUBSTRING | oval_component_SUBSTRING_t |
typedef struct oval_component_TIMEDIF | oval_component_TIMEDIF_t |
typedef struct oval_component_REGEX_CAPTURE | oval_component_REGEX_CAPTURE_t |
Functions | |
int | oval_component_iterator_has_more (struct oval_component_iterator *oc_component) |
struct oval_component * | oval_component_iterator_next (struct oval_component_iterator *oc_component) |
void | oval_component_iterator_free (struct oval_component_iterator *oc_component) |
oval_component_type_t | oval_component_get_type (struct oval_component *component) |
struct oval_value * | oval_component_get_literal_value (struct oval_component *component) |
void | oval_component_set_literal_value (struct oval_component *component, struct oval_value *value) |
void | oval_component_set_type (struct oval_component *component, oval_component_type_t type) |
struct oval_object * | oval_component_get_object (struct oval_component *component) |
void | oval_component_set_object (struct oval_component *component, struct oval_object *object) |
char * | oval_component_get_object_field (struct oval_component *component) |
void | oval_component_set_object_field (struct oval_component *component, char *field) |
struct oval_variable * | oval_component_get_variable (struct oval_component *component) |
struct oval_component_iterator * | oval_component_get_function_components (struct oval_component *component) |
oval_arithmetic_operation_t | oval_component_get_arithmetic_operation (struct oval_component *component) |
void | oval_component_set_arithmetic_operation (struct oval_component *component, oval_arithmetic_operation_t operation) |
char * | oval_component_get_begin_character (struct oval_component *component) |
void | oval_component_set_begin_character (struct oval_component *component, char *character) |
char * | oval_component_get_end_character (struct oval_component *component) |
void | oval_component_set_end_character (struct oval_component *component, char *character) |
char * | oval_component_get_split_delimiter (struct oval_component *component) |
void | oval_component_set_split_delimiter (struct oval_component *component, char *delimeter) |
int | oval_component_get_substring_start (struct oval_component *component) |
void | oval_component_set_substring_start (struct oval_component *component, int start) |
int | oval_component_get_substring_length (struct oval_component *component) |
void | oval_component_set_substring_length (struct oval_component *component, int length) |
oval_datetime_format_t | oval_component_get_timedif_format_1 (struct oval_component *component) |
void | oval_component_set_timedif_format_1 (struct oval_component *component, oval_datetime_format_t format) |
oval_datetime_format_t | oval_component_get_timedif_format_2 (struct oval_component *component) |
void | oval_component_set_timedif_format_2 (struct oval_component *component, oval_datetime_format_t format) |
char * | oval_component_get_regex_pattern (struct oval_component *component) |
void | oval_component_set_regex_pattern (struct oval_component *component, char *pattern) |
struct oval_component * | oval_component_new (oval_component_type_t type) |
void | _oval_component_clone_subcomponents (struct oval_component *old_component, struct oval_component *new_component, struct oval_definition_model *model) |
struct oval_component * | oval_component_clone (struct oval_component *old_component, struct oval_definition_model *model) |
void | oval_component_free (struct oval_component *component) |
void | oval_component_add_function_component (struct oval_component *component, struct oval_component *func_component) |
void | oval_component_set_variable (struct oval_component *component, struct oval_variable *variable) |
void | oval_component_to_print (struct oval_component *component, char *indent, int index) |
int | oval_component_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, oval_component_consumer consumer, void *user) |
xmlNode * | oval_component_to_dom (struct oval_component *component, xmlDoc *doc, xmlNode *parent) |
void | oval_component_evaluate (struct oval_component *component, struct oval_string_map *map) |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/