oval_sysitem Struct Reference
[OVALSYS]

Each instance of Oval_sysitem represents one item. More...

#include <oval_system_characteristics.h>

Public Member Functions

struct oval_sysitemoval_sysitem_new (struct oval_syschar_model *, const char *id)
struct oval_sysitemoval_sysitem_clone (struct oval_syschar_model *new_model, struct oval_sysitem *old_data)
void oval_sysitem_free (struct oval_sysitem *)
Setters



void oval_sysitem_set_status (struct oval_sysitem *, oval_syschar_status_t)
void oval_sysitem_set_subtype (struct oval_sysitem *sysitem, oval_subtype_t subtype)
void oval_sysitem_set_message (struct oval_sysitem *data, char *message)
void oval_sysitem_set_message_level (struct oval_sysitem *data, oval_message_level_t level)
void oval_sysitem_add_item (struct oval_sysitem *, struct oval_sysent *)
Getters



char * oval_sysitem_get_id (struct oval_sysitem *)
 Get system data ID.
oval_syschar_status_t oval_sysitem_get_status (struct oval_sysitem *)
 Get system data status.
struct oval_sysent_iteratoroval_sysitem_get_items (struct oval_sysitem *)
 Get system data individual items.
char * oval_sysitem_get_message (struct oval_sysitem *)
 Get system data message.
oval_message_level_t oval_sysitem_get_message_level (struct oval_sysitem *)
 Get system data message level.
oval_subtype_t oval_sysitem_get_subtype (struct oval_sysitem *)
 Get system data subtype.
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 An oval_sysitem is valid if all the following are true

  • All included sysents are valid.

Data Fields

struct oval_syschar_modelmodel
oval_subtype_t subtype
oval_message_level_t message_level
char * id
char * message
struct oval_collectionitems
oval_syschar_status_t status

Detailed Description

Each instance of Oval_sysitem represents one item.

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.


The documentation for this struct was generated from the following files:

Generated on 27 Aug 2010 for Open SCAP Library by  doxygen 1.6.1