OVAL System Characteristics API. More...
Data Structures | |
struct | oval_syschar_model |
OVAL System Characteristics model. More... | |
Functions | |
struct oval_syschar_model * | oval_syschar_model_new (struct oval_definition_model *definition_model) |
Create new oval_syschar_model. | |
struct oval_syschar_model * | oval_syschar_model_clone (struct oval_syschar_model *) |
Copy an oval_syschar_model. | |
void | oval_syschar_model_free (struct oval_syschar_model *model) |
free memory allocated to a specified syschar model. | |
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. | |
void | oval_syschar_model_bind_variable_model (struct oval_syschar_model *, struct oval_variable_model *) |
Bind a variable model to the definitions bound to the syschar model. | |
void | oval_syschar_model_probe_objects (struct oval_syschar_model *) |
Probe oval_objects bound to oval_syschar_model. | |
int | oval_syschar_model_export (struct oval_syschar_model *, struct oval_export_target *) |
Export system characteristics as a XML file. | |
void | oval_syschar_model_import (struct oval_syschar_model *, struct oval_import_source *, oval_xml_error_handler, void *) |
Load OVAL system characteristics from a file. |
OVAL System Characteristics API.
void oval_syschar_model_free | ( | struct oval_syschar_model * | model | ) |
free memory allocated to a specified syschar model.
model | the specified syschar model |
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. |
struct oval_syschar_model* oval_syschar_model_new | ( | struct oval_definition_model * | definition_model | ) | [read] |
Create new oval_syschar_model.
The new model is bound to a specified oval_definition_model and variable bindings.
definition_model | the specified oval_definition_model. |