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) |
| struct oval_object * | oval_component_get_object (struct oval_component *component) |
| char * | oval_component_get_object_field (struct oval_component *component) |
| 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) |
| char * | oval_component_get_begin_character (struct oval_component *component) |
| char * | oval_component_get_end_character (struct oval_component *component) |
| char * | oval_component_get_split_delimiter (struct oval_component *component) |
| int | oval_component_get_substring_start (struct oval_component *component) |
| int | oval_component_get_substring_length (struct oval_component *component) |
| oval_datetime_format_t | oval_component_get_timedif_format_1 (struct oval_component *component) |
| oval_datetime_format_t | oval_component_get_timedif_format_2 (struct oval_component *component) |
| char * | oval_component_get_regex_pattern (struct oval_component *component) |
| struct oval_component * | oval_component_new (oval_component_type_t type) |
| void | oval_component_free (struct oval_component *component) |
| void | oval_component_set_literal_value (struct oval_component *component, struct oval_value *value) |
| void | oval_component_set_object (struct oval_component *component, struct oval_object *object) |
| void | oval_component_set_object_field (struct oval_component *component, char *field) |
| void | oval_component_set_variable (struct oval_component *component, struct oval_variable *variable) |
| void | oval_value_consume (struct oval_value *value, void *component) |
| int | _oval_component_parse_LITERAL_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| int | _oval_component_parse_OBJECTREF_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| int | _oval_component_parse_VARREF_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| void | oval_subcomp_consume (struct oval_component *subcomp, void *func) |
| int | oval_subcomp_tag_consume (xmlTextReaderPtr reader, struct oval_parser_context *context, void *func) |
| int | _oval_component_parse_FUNCTION_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| int | _oval_component_parse_ARITHMETIC_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| int | _oval_component_parse_BEGEND_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| int | _oval_component_parse_SPLIT_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| int | _oval_component_parse_SUBSTRING_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| int | _oval_component_parse_TIMEDIF_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| int | _oval_component_parse_REGEX_CAPTURE_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_component *component) |
| 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) |
| void | function_comp_to_print (struct oval_component *component, char *nxtindent) |
| xmlNode * | oval_component_to_dom (struct oval_component *component, xmlDoc *doc, xmlNode *parent) |
Variables | |
| struct oscap_string_map | _OVAL_COMPONENT_MAP [] |
| struct oscap_string_map | _OVAL_FUNCTION_MAP [] |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/
| struct oscap_string_map _OVAL_COMPONENT_MAP[] |
{
{OVAL_COMPONENT_LITERAL ,"literal_component"},
{OVAL_COMPONENT_OBJECTREF ,"object_component"},
{OVAL_COMPONENT_VARREF ,"variable_component"},
{0, NULL}
}
| struct oscap_string_map _OVAL_FUNCTION_MAP[] |
{
{OVAL_FUNCTION_BEGIN , "begin" },
{OVAL_FUNCTION_CONCAT , "concat" },
{OVAL_FUNCTION_END , "end" },
{OVAL_FUNCTION_SPLIT , "split" },
{OVAL_FUNCTION_SUBSTRING , "substring" },
{OVAL_FUNCTION_TIMEDIF , "time_difference"},
{OVAL_FUNCTION_ESCAPE_REGEX , "escape_regex" },
{OVAL_FUNCTION_REGEX_CAPTURE, "regex_capture" },
{OVAL_FUNCTION_ARITHMETIC , "arithmetic" },
{0, NULL}
}
1.6.1