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

OVAL System Characteristics model. More...

#include <oval_system_characteristics.h>

Collaboration diagram for oval_syschar_model:
[legend]

Public Member Functions

OSCAP_API struct oval_syschar_modeloval_syschar_model_new (struct oval_definition_model *definition_model)
 Create new oval_syschar_model.
 
OSCAP_API int 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.
 
OSCAP_API struct oval_syschar_modeloval_syschar_model_clone (struct oval_syschar_model *)
 Copy an oval_syschar_model.
 
OSCAP_API int oval_syschar_model_export (struct oval_syschar_model *, const char *file)
 Export system characteristics into file.
 
OSCAP_API void oval_syschar_model_free (struct oval_syschar_model *model)
 Free memory allocated to a specified syschar model.
 
Setters
OSCAP_API int 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.
 
OSCAP_API void oval_syschar_model_set_sysinfo (struct oval_syschar_model *model, struct oval_sysinfo *sysinfo)
 
Getters
OSCAP_API struct oval_definition_modeloval_syschar_model_get_definition_model (struct oval_syschar_model *model)
 Return related oval_definition_model from an oval_syschar_model.
 
OSCAP_API struct oval_syschar_iteratoroval_syschar_model_get_syschars (struct oval_syschar_model *model)
 Return an iterator over the oval_sychar objects persisted by this model.
 
OSCAP_API struct oval_sysinfooval_syschar_model_get_sysinfo (struct oval_syschar_model *model)
 Return default sysinfo bound to syschar model.
 
OSCAP_API struct oval_syscharoval_syschar_model_get_syschar (struct oval_syschar_model *model, const char *object_id)
 Return the oval_syschar bound to a specified object_id.
 
OSCAP_API int oval_syschar_model_compute_variable (struct oval_syschar_model *, struct oval_variable *)
 Get the oval_values bound to a specified variable.
 
OSCAP_API struct oval_sysitemoval_syschar_model_get_sysitem (struct oval_syschar_model *, const char *)
 

Data Fields

struct oval_generatorgenerator
 
struct oval_sysinfosysinfo
 
struct oval_definition_modeldefinition_model
 
struct oval_smc * syschar_map
 Represents objects within <collected_objects> element.
 
struct oval_string_map * sysitem_map
 Represents items within <system_data> element.
 
char * schema
 

Detailed Description

OVAL System Characteristics model.

Object model holds OVAL system characteristics structure instances.


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