#include <oval_system_characteristics.h>
Data Fields | |
struct oval_syschar_model * | model |
oval_syschar_collection_flag_t | flag |
struct oval_collection * | messages |
struct oval_object * | object |
struct oval_collection * | variable_bindings |
Represents <variable_value> elements. | |
struct oval_collection * | sysitem |
Represents <reference> elements. | |
int | variable_instance |
Represents variable_instance attribute. | |
int | variable_instance_hint |
Internal hint of the next possible variable_instance attribute. |
Instances of Oval_syschar provide relate an Oval_object and Oval_sysitem instances.
If an OVAL Object does not exist on the system, then an object is still provided but with the flag attribute set to 'does not exist' and with no reference child elements. This shows that the object was looked for but not found on the system. If no object element is written in this case, users of the system characteristics file will not know whether the object was not found or no attempt was made to collect it.
The flag attribute holds information regarding the outcome of the data collection. For example, if there was an error looking for items that match the object specification, then the flag would be 'error'. Please refer to the description of FlagEnumeration for details about the different flag values.