Open SCAP Library
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
oval_sysitem Struct Reference

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

#include <oval_system_characteristics.h>

Collaboration diagram for oval_sysitem:
[legend]

Public Member Functions

OSCAP_API struct oval_sysitemoval_sysitem_new (struct oval_syschar_model *, const char *id)
 
OSCAP_API struct oval_sysitemoval_sysitem_clone (struct oval_syschar_model *new_model, struct oval_sysitem *old_data)
 
OSCAP_API void oval_sysitem_free (struct oval_sysitem *)
 
Setters
OSCAP_API void oval_sysitem_set_status (struct oval_sysitem *, oval_syschar_status_t)
 
OSCAP_API void oval_sysitem_set_subtype (struct oval_sysitem *sysitem, oval_subtype_t subtype)
 
OSCAP_API void oval_sysitem_add_message (struct oval_sysitem *, struct oval_message *)
 
OSCAP_API void oval_sysitem_add_sysent (struct oval_sysitem *, struct oval_sysent *)
 
Getters
OSCAP_API char * oval_sysitem_get_id (struct oval_sysitem *)
 Get system data ID.
 
OSCAP_API oval_syschar_status_t oval_sysitem_get_status (struct oval_sysitem *)
 Get system data status.
 
OSCAP_API struct oval_sysent_iteratoroval_sysitem_get_sysents (struct oval_sysitem *)
 Get system data individual items.
 
OSCAP_API struct oval_message_iteratoroval_sysitem_get_messages (struct oval_sysitem *)
 Get system data message.
 
OSCAP_API oval_subtype_t oval_sysitem_get_subtype (struct oval_sysitem *)
 Get system data subtype.
 

Data Fields

struct oval_syschar_modelmodel
 
oval_subtype_t subtype
 
char * id
 
struct oval_collectionmessages
 
struct oval_collectionsysents
 
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: