Data item aggregator. More...
#include <oval_system_characteristics.h>
Public Member Functions | |
struct oval_sysitem * | oval_sysitem_new (struct oval_syschar_model *) |
struct oval_sysitem * | oval_sysitem_clone (struct oval_syschar_model *new_model, struct oval_sysitem *old_item) |
void | oval_sysitem_free (struct oval_sysitem *) |
Setters | |
void | oval_sysitem_set_name (struct oval_sysitem *sysitem, char *name) |
void | oval_sysitem_set_value (struct oval_sysitem *sysitem, char *value) |
void | oval_sysitem_set_status (struct oval_sysitem *sysitem, oval_syschar_status_t status) |
void | oval_sysitem_set_datatype (struct oval_sysitem *sysitem, oval_datatype_t type) |
void | oval_sysitem_set_mask (struct oval_sysitem *sysitem, int mask) |
Getters | |
char * | oval_sysitem_get_name (struct oval_sysitem *) |
Get system data item name. | |
char * | oval_sysitem_get_value (struct oval_sysitem *) |
Get system data item value. | |
oval_syschar_status_t | oval_sysitem_get_status (struct oval_sysitem *) |
Get system data item status. | |
oval_datatype_t | oval_sysitem_get_datatype (struct oval_sysitem *) |
Get system data item data type. | |
int | oval_sysitem_get_mask (struct oval_sysitem *) |
Get system data item mask. | |
bool | oval_sysitem_is_locked (struct oval_sysitem *sysitem) |
Return true if the sysitem instance is locked. | |
Evaluators | |
bool | oval_sysitem_is_valid (struct oval_sysitem *sysitem) |
Return true if the sysitem instance is valid. | |
Data Fields | |
struct oval_syschar_model * | model |
char * | name |
char * | value |
int | mask |
oval_datatype_t | datatype |
oval_syschar_status_t | status |
Data item aggregator.
Instances of Oval_sysitem holds information about a specific item on a system. An item might be a file, a rpm, a process, etc. This element is extended by the different component schemas through substitution groups. Each item represents a unique instance of an object as specified by an OVAL Object. For example, a single file or a single user. Each item my be referenced by more than one object in the collected object section. Please refer to the description of ItemType for more details about the information stored in items.