OVAL System Characteristics Interface get methods. More...
Functions | |
bool | oval_syschar_model_is_locked (struct oval_syschar_model *syschar_model) |
return true if the syschar_model instance is locked. | |
struct oval_definition_model * | oval_syschar_model_get_definition_model (struct oval_syschar_model *model) |
Return related oval_definition_model from an oval_syschar_model. | |
struct oval_syschar_iterator * | oval_syschar_model_get_syschars (struct oval_syschar_model *model) |
Return an iterator over the oval_sychar objects persisted by this model. | |
struct oval_sysinfo * | oval_syschar_model_get_sysinfo (struct oval_syschar_model *model) |
Return default sysinfo bound to syschar model. | |
struct oval_syschar * | oval_syschar_model_get_syschar (struct oval_syschar_model *model, char *object_id) |
Return the oval_syschar bound to a specified object_id. | |
oval_syschar_collection_flag_t | oval_syschar_model_get_variable_collection_flag (struct oval_syschar_model *, struct oval_variable *) |
Get the collection flag associated with a specified oval_variable. | |
struct oval_value_iterator * | oval_syschar_model_get_variable_values (struct oval_syschar_model *, struct oval_variable *) |
Get the oval_values bound to a specified variable. | |
struct oval_sysdata * | oval_syschar_model_get_sysdata (struct oval_syschar_model *, char *) |
OVAL System Characteristics Interface get methods.
struct oval_definition_model* oval_syschar_model_get_definition_model | ( | struct oval_syschar_model * | model | ) | [read] |
Return related oval_definition_model from an oval_syschar_model.
model | the specified oval_syschar_model. |
struct oval_syschar* oval_syschar_model_get_syschar | ( | struct oval_syschar_model * | model, | |
char * | object_id | |||
) | [read] |
Return the oval_syschar bound to a specified object_id.
Returns NULL if the object_id does not resolve to an oval_object in the bound oval_definition_model.
model | the queried oval_syschar_model. | |
object_id | the specified object_id. |
struct oval_syschar_iterator* oval_syschar_model_get_syschars | ( | struct oval_syschar_model * | model | ) | [read] |
Return an iterator over the oval_sychar objects persisted by this model.
model | the specified oval_syschar_model. |
struct oval_sysinfo* oval_syschar_model_get_sysinfo | ( | struct oval_syschar_model * | model | ) | [read] |
Return default sysinfo bound to syschar model.
model | the specified oval_syschar_model. |
bool oval_syschar_model_is_locked | ( | struct oval_syschar_model * | syschar_model | ) |
return true if the syschar_model instance is locked.
The state of a locked instance cannot be changed.