Open Vulnerability and Assessment Language. More...
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oval_system_characteristics_impl.h"
#include "oval_collection_impl.h"
#include "oval_agent_api_impl.h"
#include "../common/util.h"
#include "../common/public/debug.h"
Data Structures | |
struct | oval_sysinfo |
Handle: Oval_sysinfo. More... | |
Typedefs | |
typedef struct oval_sysinfo | oval_sysinfo_t |
Functions | |
struct oval_sysinfo * | oval_sysinfo_new (struct oval_syschar_model *model) |
bool | oval_sysinfo_is_valid (struct oval_sysinfo *sysinfo) |
return true if the sysinfo instance is valid | |
bool | oval_sysinfo_is_locked (struct oval_sysinfo *sysinfo) |
return true if the sysinfo instance is locked. | |
struct oval_sysinfo * | oval_sysinfo_clone (struct oval_syschar_model *new_model, struct oval_sysinfo *old_sysinfo) |
void | oval_sysinfo_free (struct oval_sysinfo *sysinfo) |
bool | oval_sysinfo_iterator_has_more (struct oval_sysinfo_iterator *oc_sysinfo) |
struct oval_sysinfo * | oval_sysinfo_iterator_next (struct oval_sysinfo_iterator *oc_sysinfo) |
void | oval_sysinfo_iterator_free (struct oval_sysinfo_iterator *oc_sysinfo) |
char * | oval_sysinfo_get_os_name (struct oval_sysinfo *sysinfo) |
Get operating system name. | |
void | oval_sysinfo_set_os_name (struct oval_sysinfo *sysinfo, char *osName) |
char * | oval_sysinfo_get_os_version (struct oval_sysinfo *sysinfo) |
Get operating system version. | |
void | oval_sysinfo_set_os_version (struct oval_sysinfo *sysinfo, char *osVersion) |
char * | oval_sysinfo_get_os_architecture (struct oval_sysinfo *sysinfo) |
Get operating system architecture. | |
void | oval_sysinfo_set_os_architecture (struct oval_sysinfo *sysinfo, char *osArchitecture) |
char * | oval_sysinfo_get_primary_host_name (struct oval_sysinfo *sysinfo) |
Get primary host name of the tested machine. | |
void | oval_sysinfo_set_primary_host_name (struct oval_sysinfo *sysinfo, char *primaryHostName) |
struct oval_sysint_iterator * | oval_sysinfo_get_interfaces (struct oval_sysinfo *sysinfo) |
Get an iterator to the list of network interfaces. | |
void | oval_sysinfo_add_interface (struct oval_sysinfo *sysinfo, struct oval_sysint *interface) |
int | oval_sysinfo_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context) |
void | oval_sysinfo_to_print (struct oval_sysinfo *sysinfo, char *indent, int idx) |
void | oval_sysinfo_to_dom (struct oval_sysinfo *sysinfo, xmlDoc *doc, xmlNode *tag_parent) |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/