OVALVAR
OVAL Variables API.
More...
Data Structures |
struct | oval_variable_model |
| OVAL variable model. More...
|
Functions |
struct oval_variable_model * | oval_variable_model_new (void) |
| Create a new OVAL variable model.
|
struct oval_variable_model * | oval_variable_model_clone (struct oval_variable_model *) |
| Create an OVAL variable model.
|
void | oval_variable_model_free (struct oval_variable_model *) |
| Free memory allocated to a specified oval_variable_model.
|
void | oval_variable_model_import (struct oval_variable_model *, struct oval_import_source *, oval_xml_error_handler, void *) |
| Load the specified oval_variable_model from an XML stream.
|
void | oval_variable_model_export (struct oval_variable_model *, struct oval_export_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 *) |
| Get all external variables managed by a specified oval_variable_model.
|
oval_datatype_t | oval_variable_model_get_datatype (struct oval_variable_model *, char *) |
| Get a specified external variable datatype.
|
const char * | oval_variable_model_get_comment (struct oval_variable_model *, char *) |
| Get a specified external variable comment.
|
struct oval_string_iterator * | oval_variable_model_get_values (struct oval_variable_model *, char *) |
| Get the values bound to a specified external variable.
|
void | oval_variable_model_add (struct oval_variable_model *model, char *varid, const char *comment, oval_datatype_t datatype, char *value) |
Detailed Description
OVAL Variables API.
Function Documentation
Get a specified external variable comment.
If the varid does not resolve to a managed external variable, this method returns NULL.
- Parameters:
-
Get a specified external variable datatype.
If the varid does not resolve to a managed external variable, this method returns 0.
- Parameters:
-
struct oval_string_iterator* oval_variable_model_get_values |
( |
struct oval_variable_model * |
, |
|
|
char * |
| |
|
) |
| | [read] |
Get the values bound to a specified external variable.
If the varid does not resolve to a managed external variable, this method returns NULL.
- Parameters:
-
struct oval_string_iterator* oval_variable_model_get_variable_ids |
( |
struct oval_variable_model * |
|
) |
[read] |