Oval_variable get methods. More...
Functions | |
| bool | oval_variable_is_locked (struct oval_variable *variable) |
| return true if the variable instance is locked. | |
| char * | oval_variable_get_id (struct oval_variable *) |
| Returns attribute Oval_variable->id. | |
| char * | oval_variable_get_comment (struct oval_variable *) |
| Returns attribute Oval_variable->comment. | |
| int | oval_variable_get_version (struct oval_variable *) |
| Returns attribute Oval_variable->version. | |
| bool | oval_variable_get_deprecated (struct oval_variable *) |
| Returns attribute Oval_variable->deprecated. | |
| oval_variable_type_t | oval_variable_get_type (struct oval_variable *) |
| Returns attribute Oval_variable->type. | |
| oval_datatype_t | oval_variable_get_datatype (struct oval_variable *) |
| Returns attribute Oval_variable->datatype. | |
| struct oval_value_iterator * | oval_variable_get_values (struct oval_variable *) |
| Returns attribute Oval_external/Oval_constant->values. | |
| struct oval_component * | oval_variable_get_component (struct oval_variable *) |
| Returns attribute Oval_local->component. | |
| const char * | oval_component_type_get_text (oval_component_type_t type) |
| Returns attribute Oval_component_type->text. | |
Oval_variable get methods.
| char* oval_variable_get_comment | ( | struct oval_variable * | ) |
Returns attribute Oval_variable->comment.
| struct oval_component* oval_variable_get_component | ( | struct oval_variable * | ) | [read] |
Returns attribute Oval_local->component.
If attribute type <> OVAL_VARIABLE_LOCAL this method shall return NULL.
| oval_datatype_t oval_variable_get_datatype | ( | struct oval_variable * | ) |
Returns attribute Oval_variable->datatype.
| bool oval_variable_get_deprecated | ( | struct oval_variable * | ) |
Returns attribute Oval_variable->deprecated.
| char* oval_variable_get_id | ( | struct oval_variable * | ) |
Returns attribute Oval_variable->id.
| oval_variable_type_t oval_variable_get_type | ( | struct oval_variable * | ) |
Returns attribute Oval_variable->type.
| struct oval_value_iterator* oval_variable_get_values | ( | struct oval_variable * | ) | [read] |
Returns attribute Oval_external/Oval_constant->values.
If attribute type == OVAL_VARIABLE_LOCAL or OVAL_VARIABLE_UNKNOWN, this method shall return NULL
| int oval_variable_get_version | ( | struct oval_variable * | ) |
Returns attribute Oval_variable->version.
| bool oval_variable_is_locked | ( | struct oval_variable * | variable | ) |
return true if the variable instance is locked.
The state of a locked instance cannot be changed.
1.6.1