Open Vulnerability and Assessment Language. More...
#include "oval_definitions_impl.h"
#include "oval_agent_api_impl.h"
#include "oval_parser_impl.h"
#include "oval_string_map_impl.h"
#include "oval_system_characteristics_impl.h"
#include "oval_results_impl.h"
#include <string.h>
#include <time.h>
Data Structures | |
struct | _oval_variable_model_frame |
struct | oval_variable_model |
OVAL variable model. More... | |
Defines | |
#define | NAMESPACE_VARIABLES "http://oval.mitre.org/XMLSchema/oval-variables-5" |
#define | NAMESPACE_COMMON "http://oval.mitre.org/XMLSchema/oval-common-5" |
Typedefs | |
typedef struct _oval_variable_model_frame | _oval_variable_model_frame_t |
typedef struct oval_variable_model | oval_variable_model_t |
Functions | |
_oval_variable_model_frame_t * | _oval_variable_model_frame_new (char *id, const char *comment, oval_datatype_t datatype) |
void | _oval_variable_model_frame_free (_oval_variable_model_frame_t *frame) |
struct oval_variable_model * | oval_variable_model_new () |
Create a new OVAL variable model. | |
struct oval_variable_model * | oval_variable_model_clone (struct oval_variable_model *old_model) |
Create an OVAL variable model. | |
void | oval_variable_model_free (struct oval_variable_model *model) |
Free memory allocated to a specified oval_variable_model. | |
void | oval_variable_model_add (struct oval_variable_model *model, char *varid, const char *comment, oval_datatype_t datatype, char *value) |
int | _oval_generator_parse_tag (xmlTextReader *reader, struct oval_parser_context *context, char *label) |
int | _oval_variable_model_parse_variable_values (xmlTextReader *reader, struct oval_parser_context *context, _oval_variable_model_frame_t *frame) |
int | _oval_variable_model_parse_variable (xmlTextReader *reader, struct oval_parser_context *context, struct oval_variable_model *model) |
int | _oval_variable_model_parse_variables (xmlTextReader *reader, struct oval_parser_context *context, struct oval_variable_model *model) |
int | _oval_variable_model_parse_tag (xmlTextReader *reader, struct oval_parser_context *context, struct oval_variable_model *model) |
void | _oval_variable_model_parse (struct oval_variable_model *model, xmlTextReader *reader, oval_xml_error_handler error_handler, void *user_param) |
void | oval_variable_model_import (struct oval_variable_model *model, struct oval_import_source *source, oval_xml_error_handler error_handler, void *user_param) |
Load the specified oval_variable_model from an XML stream. | |
void | oval_variable_model_export (struct oval_variable_model *model, struct oval_export_target *target) |
Export the specified oval_variable_model to an XML stream. | |
struct oval_string_iterator * | oval_variable_model_get_variable_ids (struct oval_variable_model *model) |
Get all external variables managed by a specified oval_variable_model. | |
oval_datatype_t | oval_variable_model_get_datatype (struct oval_variable_model *model, char *varid) |
Get a specified external variable datatype. | |
const char * | oval_variable_model_get_comment (struct oval_variable_model *model, char *varid) |
Get a specified external variable comment. | |
struct oval_string_iterator * | oval_variable_model_get_values (struct oval_variable_model *model, char *varid) |
Get the values bound to a specified external variable. |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/