OVAL Definitions interface get methods. More...
OVAL Definitions interface get methods.
struct oval_definition* oval_definition_model_get_definition | ( | struct oval_definition_model * | , | |
char * | id | |||
) | [read] |
Returns the appended Oval_definition having the specified id.
IF the specified id does not resolve to an appended Oval_definition the method shall return NULL.
id | the definition id. |
struct oval_definition_iterator* oval_definition_model_get_definitions | ( | struct oval_definition_model * | model | ) | [read] |
Returns all appended Oval_definition instances.
struct oval_object* oval_definition_model_get_object | ( | struct oval_definition_model * | model, | |
char * | id | |||
) | [read] |
Get OVAL object by ID.
Return a designated oval_object from the specified oval_definition_model. If the specified id does not resolve to an oval_object the function returns NULL.
model | the queried model. | |
id | the object id. |
struct oval_object_iterator* oval_definition_model_get_objects | ( | struct oval_definition_model * | model | ) | [read] |
Get OVAL objects.
Return all oval_objects from the specified oval_definition_model.
model | the queried model. |
struct oval_state* oval_definition_model_get_state | ( | struct oval_definition_model * | model, | |
char * | id | |||
) | [read] |
Get OVAL state by ID.
Return a designated oval_state from the specified oval_definition_model. If the specified id does not resolve to an oval_state the function returns NULL.
model | the queried model. | |
id | the state id. |
struct oval_state_iterator* oval_definition_model_get_states | ( | struct oval_definition_model * | model | ) | [read] |
Get OVAL states.
Return all oval_states from the specified oval_definition_model.
model | the queried model. |
struct oval_test* oval_definition_model_get_test | ( | struct oval_definition_model * | model, | |
char * | id | |||
) | [read] |
Get oval test by ID.
Return a designated oval_test from the specified oval_definition_model. If the specified id does not resolve to an oval_test the function returns NULL.
model | the queried model. | |
id | the test id. |
struct oval_test_iterator* oval_definition_model_get_tests | ( | struct oval_definition_model * | model | ) | [read] |
Get OVAL tests.
Return all oval_tests from the specified oval_definition_model.
model | the queried model. |
struct oval_variable* oval_definition_model_get_variable | ( | struct oval_definition_model * | model, | |
char * | id | |||
) | [read] |
Get OVAL variable by ID.
Return a designated oval_variable from the specified oval_definition_model. If the specified id does not resolve to an oval_variable the function returns NULL.
model | the queried model. | |
id | the variable id. |
struct oval_variable_iterator* oval_definition_model_get_variables | ( | struct oval_definition_model * | model | ) | [read] |
Get OVAL variables.
Return all oval_variables from the specified oval_definition_model.
model | the queried model. |
bool oval_definition_model_is_locked | ( | struct oval_definition_model * | definition_model | ) |
return true if the definition_model instance is locked.
The state of a locked instance cannot be changed.