36#ifndef OVAL_VARIABLES_H_
37#define OVAL_VARIABLES_H_
41#include "oscap_source.h"
42#include "oscap_export.h"
110OSCAP_API
bool oval_variable_model_has_variable(
struct oval_variable_model *model,
const char *
id);
126OSCAP_API
const char *oval_variable_model_get_comment (
struct oval_variable_model *,
char *);
oval_datatype_t
Datatypes.
Definition: oval_definitions.h:149
OSCAP_API void oval_variable_model_add(struct oval_variable_model *model, char *varid, const char *comment, oval_datatype_t datatype, char *value)
Get the values bound to a specified external variable.
Definition: oval_varModel.c:169
OSCAP_API struct oval_variable_model * oval_variable_model_clone(struct oval_variable_model *)
Clone an OVAL variable model.
Definition: oval_varModel.c:126
OSCAP_API struct oval_variable_model * oval_variable_model_import_source(struct oscap_source *source)
Import the content from the oscap_source into a new oval_variable_model.
Definition: oval_varModel.c:302
OSCAP_API bool oval_variable_model_iterator_has_more(struct oval_variable_model_iterator *)
Returns true if iterator not exhausted.
Definition: oval_varModel.c:85
OSCAP_API int oval_variable_model_export(struct oval_variable_model *, const char *file)
Export the specified oval_variable_model into file.
Definition: oval_varModel.c:375
OSCAP_API struct oval_variable_model * oval_variable_model_new(void)
Create a new empty OVAL variable model.
Definition: oval_varModel.c:116
OSCAP_API void oval_variable_model_free(struct oval_variable_model *)
Free memory allocated to a specified oval_variable_model.
Definition: oval_varModel.c:148
General OpenScap functions and types.
Definition: oscap_source.c:66
Definition: oval_generator.c:47
The OVAL variable model facilitates access to external variable value bindings used to to constrain t...
Definition: oval_varModel.c:56