Setters
[OVAL External Variable Binding API]

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.

Detailed Description

OVAL External Variable Binding API set methods.

These methods will not change the state of a locked instance.

See also:
oval_syschar_model_get_locked
oval_syschar_model_set_locked

Function Documentation

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.

Parameters:
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.


Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1