OVAL External Variable Binding API set methods. More...
Functions | |
void | oval_variable_model_lock (struct oval_variable_model *variable_model) |
Lock the variable_model instance. | |
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. |
OVAL External Variable Binding API set methods.
These methods will not change the state of a locked instance.
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.
If the varid does not resolve to a managed external variable, this method returns NULL.
variable_model | the specified oval_variable_model. | |
varid | the identifier of the required oval_variable. |
void oval_variable_model_lock | ( | struct oval_variable_model * | variable_model | ) |
Lock the variable_model instance.
The state of a locked instance cannot be changed. This operation has no effect if the model is already locked.