Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
oval_sysinfo Struct Reference

Detailed Description

General instrumented host description.

Instances of Oval_sysinfo specify general information about instrumented host systems, including information that can be used to identify the system.

#include <oval_system_characteristics.h>

Public Member Functions

struct oval_sysinfooval_sysinfo_new (struct oval_syschar_model *)
 
struct oval_sysinfooval_sysinfo_clone (struct oval_syschar_model *new_model, struct oval_sysinfo *old_sysinfo)
 
void oval_sysinfo_free (struct oval_sysinfo *)
 
Setters
void oval_sysinfo_set_os_name (struct oval_sysinfo *, char *)
 
void oval_sysinfo_set_os_version (struct oval_sysinfo *, char *)
 
void oval_sysinfo_set_os_architecture (struct oval_sysinfo *, char *)
 
void oval_sysinfo_set_primary_host_name (struct oval_sysinfo *, char *)
 
void oval_sysinfo_add_interface (struct oval_sysinfo *, struct oval_sysint *)
 
Getters
char * oval_sysinfo_get_os_name (struct oval_sysinfo *)
 Get operating system name.
 
char * oval_sysinfo_get_os_version (struct oval_sysinfo *)
 Get operating system version.
 
char * oval_sysinfo_get_os_architecture (struct oval_sysinfo *)
 Get operating system architecture.
 
char * oval_sysinfo_get_primary_host_name (struct oval_sysinfo *)
 Get primary host name of the tested machine.
 
struct oval_sysint_iteratoroval_sysinfo_get_interfaces (struct oval_sysinfo *)
 Get an iterator to the list of network interfaces.
 

Data Fields

struct oval_syschar_modelmodel
 
char * osName
 
char * osVersion
 
char * osArchitecture
 
char * primaryHostName
 
struct oval_collectioninterfaces
 
char * anyxml
 

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