Getters
[OVAL External Variable Binding API]

OVAL External Variable Binding API get methods. More...

Functions

bool oval_variable_model_is_locked (struct oval_variable_model *variable_model)
 return true if the variable_model instance is locked.
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.

Detailed Description

OVAL External Variable Binding API get methods.


Function Documentation

const char* oval_variable_model_get_comment ( struct oval_variable_model ,
char *   
)

Get a specified external variable comment.

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.
oval_datatype_t oval_variable_model_get_datatype ( struct oval_variable_model ,
char *   
)

Get a specified external variable datatype.

If the varid does not resolve to a managed external variable, this method returns 0.

Parameters:
variable_model the specified oval_variable_model.
varid the identifier of the required oval_variable.
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:
variable_model the specified oval_variable_model.
varid the identifier of the required oval_variable.
struct oval_string_iterator* oval_variable_model_get_variable_ids ( struct oval_variable_model  )  [read]

Get all external variables managed by a specified oval_variable_model.

Parameters:
variable_model the specified oval_variable_model.
bool oval_variable_model_is_locked ( struct oval_variable_model variable_model  ) 

return true if the variable_model instance is locked.

The state of a locked instance cannot be changed.


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