Interface for System Characteristics model.
|
enum | oval_syschar_collection_flag_t {
SYSCHAR_FLAG_UNKNOWN = 0,
SYSCHAR_FLAG_ERROR = 1,
SYSCHAR_FLAG_COMPLETE = 2,
SYSCHAR_FLAG_INCOMPLETE = 3,
SYSCHAR_FLAG_DOES_NOT_EXIST = 4,
SYSCHAR_FLAG_NOT_COLLECTED = 5,
SYSCHAR_FLAG_NOT_APPLICABLE = 6
} |
| System characteristics result flag.
|
|
enum | oval_syschar_status_t {
SYSCHAR_STATUS_UNKNOWN = 0,
SYSCHAR_STATUS_ERROR = 1,
SYSCHAR_STATUS_EXISTS = 2,
SYSCHAR_STATUS_DOES_NOT_EXIST = 3,
SYSCHAR_STATUS_NOT_COLLECTED = 4
} |
| System characteristics status.
|
|
enum | oval_message_level_t {
OVAL_MESSAGE_LEVEL_NONE = 0,
OVAL_MESSAGE_LEVEL_DEBUG = 1,
OVAL_MESSAGE_LEVEL_INFO = 2,
OVAL_MESSAGE_LEVEL_WARNING = 3,
OVAL_MESSAGE_LEVEL_ERROR = 4,
OVAL_MESSAGE_LEVEL_FATAL = 5
} |
| Message level.
|
|
|
const char * | oval_syschar_collection_flag_get_text (oval_syschar_collection_flag_t flag) |
|
const char * | oval_syschar_status_get_text (oval_syschar_status_t status) |
|
const char * | oval_message_level_text (oval_message_level_t) |
|
struct oval_syschar_model * | oval_syschar_model::oval_syschar_model_new (struct oval_definition_model *definition_model) |
| Create new oval_syschar_model. More...
|
|
int | oval_syschar_model::oval_syschar_model_import_source (struct oval_syschar_model *model, struct oscap_source *source) |
| Import the content from the oscap_source into an oval_syschar_model. More...
|
|
int | oval_syschar_model::oval_syschar_model_import (struct oval_syschar_model *model, const char *file) |
| Import the content from the file into an oval_syschar_model. More...
|
|
struct oval_syschar_model * | oval_syschar_model::oval_syschar_model_clone (struct oval_syschar_model *) |
| Copy an oval_syschar_model. More...
|
|
int | oval_syschar_model::oval_syschar_model_export (struct oval_syschar_model *, const char *file) |
| Export system characteristics into file.
|
|
void | oval_syschar_model::oval_syschar_model_free (struct oval_syschar_model *model) |
| Free memory allocated to a specified syschar model. More...
|
|
struct oval_sysinfo * | oval_sysinfo::oval_sysinfo_new (struct oval_syschar_model *) |
|
struct oval_sysinfo * | oval_sysinfo::oval_sysinfo_clone (struct oval_syschar_model *new_model, struct oval_sysinfo *old_sysinfo) |
|
void | oval_sysinfo::oval_sysinfo_free (struct oval_sysinfo *) |
|
struct oval_syschar * | oval_syschar::oval_syschar_new (struct oval_syschar_model *, struct oval_object *) |
|
struct oval_syschar * | oval_syschar::oval_syschar_clone (struct oval_syschar_model *new_model, struct oval_syschar *old_syschar) |
|
void | oval_syschar::oval_syschar_free (struct oval_syschar *) |
|
struct oval_sysint * | oval_sysint::oval_sysint_new (struct oval_syschar_model *) |
|
struct oval_sysint * | oval_sysint::oval_sysint_clone (struct oval_syschar_model *new_model, struct oval_sysint *old_sysint) |
|
void | oval_sysint::oval_sysint_free (struct oval_sysint *) |
|
struct oval_sysitem * | oval_sysitem::oval_sysitem_new (struct oval_syschar_model *, const char *id) |
|
struct oval_sysitem * | oval_sysitem::oval_sysitem_clone (struct oval_syschar_model *new_model, struct oval_sysitem *old_data) |
|
void | oval_sysitem::oval_sysitem_free (struct oval_sysitem *) |
|
struct oval_sysent * | oval_sysent::oval_sysent_new (struct oval_syschar_model *) |
|
struct oval_sysent * | oval_sysent::oval_sysent_clone (struct oval_syschar_model *new_model, struct oval_sysent *old_item) |
|
void | oval_sysent::oval_sysent_free (struct oval_sysent *) |
|
struct oval_message * | oval_message::oval_message_new (void) |
|
struct oval_message * | oval_message::oval_message_clone (struct oval_message *old_message) |
|
void | oval_message::oval_message_free (struct oval_message *) |
|
struct oval_variable_binding * | oval_variable_binding::oval_variable_binding_new (struct oval_variable *, char *) |
|
struct oval_variable_binding * | oval_variable_binding::oval_variable_binding_clone (struct oval_variable_binding *, struct oval_definition_model *) |
|
void | oval_variable_binding::oval_variable_binding_free (struct oval_variable_binding *) |
|
|
void | oval_syschar_model_set_generator (struct oval_syschar_model *model, struct oval_generator *generator) |
|
int | oval_syschar_model::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. More...
|
|
void | oval_syschar_model::oval_syschar_model_set_sysinfo (struct oval_syschar_model *model, struct oval_sysinfo *sysinfo) |
|
void | oval_sysinfo::oval_sysinfo_set_os_name (struct oval_sysinfo *, char *) |
|
void | oval_sysinfo::oval_sysinfo_set_os_version (struct oval_sysinfo *, char *) |
|
void | oval_sysinfo::oval_sysinfo_set_os_architecture (struct oval_sysinfo *, char *) |
|
void | oval_sysinfo::oval_sysinfo_set_primary_host_name (struct oval_sysinfo *, char *) |
|
void | oval_sysinfo::oval_sysinfo_add_interface (struct oval_sysinfo *, struct oval_sysint *) |
|
void | oval_syschar::oval_syschar_add_variable_binding (struct oval_syschar *, struct oval_variable_binding *) |
|
void | oval_syschar::oval_syschar_set_flag (struct oval_syschar *model, oval_syschar_collection_flag_t flag) |
|
void | oval_syschar::oval_syschar_set_object (struct oval_syschar *, struct oval_object *) |
|
int | oval_syschar::oval_syschar_get_variable_instance (const struct oval_syschar *syschar) |
| Gets the variable_instance attribute of the syschar. More...
|
|
void | oval_syschar::oval_syschar_set_variable_instance (struct oval_syschar *syschar, int variable_instance_in) |
| Sets the variable_instance attribute of the syschar. More...
|
|
void | oval_syschar::oval_syschar_add_sysitem (struct oval_syschar *, struct oval_sysitem *) |
|
void | oval_syschar::oval_syschar_add_message (struct oval_syschar *syschar, struct oval_message *message) |
|
void | oval_syschar::oval_syschar_add_new_message (struct oval_syschar *syschar, char *text, oval_message_level_t level) |
|
void | oval_sysint::oval_sysint_set_name (struct oval_sysint *, char *) |
|
void | oval_sysint::oval_sysint_set_ip_address (struct oval_sysint *, char *) |
|
void | oval_sysint::oval_sysint_set_mac_address (struct oval_sysint *, char *) |
|
void | oval_sysitem::oval_sysitem_set_status (struct oval_sysitem *, oval_syschar_status_t) |
|
void | oval_sysitem::oval_sysitem_set_subtype (struct oval_sysitem *sysitem, oval_subtype_t subtype) |
|
void | oval_sysitem::oval_sysitem_add_message (struct oval_sysitem *, struct oval_message *) |
|
void | oval_sysitem::oval_sysitem_add_sysent (struct oval_sysitem *, struct oval_sysent *) |
|
void | oval_sysent::oval_sysent_set_name (struct oval_sysent *sysent, char *name) |
|
void | oval_sysent::oval_sysent_set_value (struct oval_sysent *sysent, char *value) |
|
void | oval_sysent::oval_sysent_add_record_field (struct oval_sysent *, struct oval_record_field *) |
|
void | oval_sysent::oval_sysent_set_status (struct oval_sysent *sysent, oval_syschar_status_t status) |
|
void | oval_sysent::oval_sysent_set_datatype (struct oval_sysent *sysent, oval_datatype_t type) |
|
void | oval_sysent::oval_sysent_set_mask (struct oval_sysent *sysent, int mask) |
|
void | oval_record_field::oval_record_field_set_status (struct oval_record_field *, oval_syschar_status_t) |
|
void | oval_message::oval_message_set_text (struct oval_message *, char *) |
|
void | oval_message::oval_message_set_level (struct oval_message *, oval_message_level_t) |
|
void | oval_variable_binding::oval_variable_binding_set_variable (struct oval_variable_binding *, struct oval_variable *) |
|
void | oval_variable_binding::oval_variable_binding_add_value (struct oval_variable_binding *, char *) |
|