\hypertarget{structoval__sysinfo}{ \section{oval\_\-sysinfo Struct Reference} \label{structoval__sysinfo}\index{oval\_\-sysinfo@{oval\_\-sysinfo}} } General instrumented host description. {\ttfamily \#include $<$oval\_\-system\_\-characteristics.h$>$}\subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hypertarget{group__OVALSYS_ga2b0aefbf28fff8889d67291a67c443ef}{ struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$ {\bfseries oval\_\-sysinfo\_\-new} (struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$)} \label{group__OVALSYS_ga2b0aefbf28fff8889d67291a67c443ef} \item \hypertarget{group__OVALSYS_ga5b8aea67c9a9229912553f68f33a3cb8}{ struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$ {\bfseries oval\_\-sysinfo\_\-clone} (struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$new\_\-model, struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$old\_\-sysinfo)} \label{group__OVALSYS_ga5b8aea67c9a9229912553f68f33a3cb8} \item \hypertarget{group__OVALSYS_gac72bc3e71d9148cf973de4e5817645e1}{ void {\bfseries oval\_\-sysinfo\_\-free} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$)} \label{group__OVALSYS_gac72bc3e71d9148cf973de4e5817645e1} \end{DoxyCompactItemize} \begin{Indent}{\bf Setters}\par {\em \label{_amgrp6e47466b75bb957a603aa54c079ac8bf} }\begin{DoxyCompactItemize} \item \hypertarget{group__OVALSYS_ga0ee1019e17f8143c0f928fd322707fa6}{ void {\bfseries oval\_\-sysinfo\_\-set\_\-os\_\-name} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$, char $\ast$)} \label{group__OVALSYS_ga0ee1019e17f8143c0f928fd322707fa6} \item \hypertarget{group__OVALSYS_ga2190844ce241c4b37b0a63ec2d5b955b}{ void {\bfseries oval\_\-sysinfo\_\-set\_\-os\_\-version} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$, char $\ast$)} \label{group__OVALSYS_ga2190844ce241c4b37b0a63ec2d5b955b} \item \hypertarget{group__OVALSYS_ga7bd72b877df4a0b7a24071415518833f}{ void {\bfseries oval\_\-sysinfo\_\-set\_\-os\_\-architecture} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$, char $\ast$)} \label{group__OVALSYS_ga7bd72b877df4a0b7a24071415518833f} \item \hypertarget{group__OVALSYS_gaa1bdc96a9d7b4224b6e21f6af5b478fa}{ void {\bfseries oval\_\-sysinfo\_\-set\_\-primary\_\-host\_\-name} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$, char $\ast$)} \label{group__OVALSYS_gaa1bdc96a9d7b4224b6e21f6af5b478fa} \item \hypertarget{group__OVALSYS_ga30df32c3fcfbce976ecb48f0735f99e4}{ void {\bfseries oval\_\-sysinfo\_\-add\_\-interface} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$, struct \hyperlink{structoval__sysint}{oval\_\-sysint} $\ast$)} \label{group__OVALSYS_ga30df32c3fcfbce976ecb48f0735f99e4} \end{DoxyCompactItemize} \end{Indent} \begin{Indent}{\bf Getters}\par {\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d} }\begin{DoxyCompactItemize} \item \hypertarget{group__OVALSYS_ga27840d440bb854de20b5cacdfc83cd1e}{ char $\ast$ \hyperlink{group__OVALSYS_ga27840d440bb854de20b5cacdfc83cd1e}{oval\_\-sysinfo\_\-get\_\-os\_\-name} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$)} \label{group__OVALSYS_ga27840d440bb854de20b5cacdfc83cd1e} \begin{DoxyCompactList}\small\item\em Get operating system name. \item\end{DoxyCompactList}\item \hypertarget{group__OVALSYS_ga40de66a6c8c41fdb4e774345668eaf8c}{ char $\ast$ \hyperlink{group__OVALSYS_ga40de66a6c8c41fdb4e774345668eaf8c}{oval\_\-sysinfo\_\-get\_\-os\_\-version} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$)} \label{group__OVALSYS_ga40de66a6c8c41fdb4e774345668eaf8c} \begin{DoxyCompactList}\small\item\em Get operating system version. \item\end{DoxyCompactList}\item \hypertarget{group__OVALSYS_ga3c6386814c4c792e98708a75ce58a2ee}{ char $\ast$ \hyperlink{group__OVALSYS_ga3c6386814c4c792e98708a75ce58a2ee}{oval\_\-sysinfo\_\-get\_\-os\_\-architecture} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$)} \label{group__OVALSYS_ga3c6386814c4c792e98708a75ce58a2ee} \begin{DoxyCompactList}\small\item\em Get operating system architecture. \item\end{DoxyCompactList}\item \hypertarget{group__OVALSYS_gab7e22b8041a699b323f890ca63debcb5}{ char $\ast$ \hyperlink{group__OVALSYS_gab7e22b8041a699b323f890ca63debcb5}{oval\_\-sysinfo\_\-get\_\-primary\_\-host\_\-name} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$)} \label{group__OVALSYS_gab7e22b8041a699b323f890ca63debcb5} \begin{DoxyCompactList}\small\item\em Get primary host name of the tested machine. \item\end{DoxyCompactList}\item \hypertarget{group__OVALSYS_gaa2a9f55729fd17f2427874b230a42d17}{ struct \hyperlink{structoval__sysint__iterator}{oval\_\-sysint\_\-iterator} $\ast$ \hyperlink{group__OVALSYS_gaa2a9f55729fd17f2427874b230a42d17}{oval\_\-sysinfo\_\-get\_\-interfaces} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$)} \label{group__OVALSYS_gaa2a9f55729fd17f2427874b230a42d17} \begin{DoxyCompactList}\small\item\em Get an iterator to the list of network interfaces. \item\end{DoxyCompactList}\item bool \hyperlink{group__OVALSYS_ga1996b8203c03b7986f12742d012d51ce}{oval\_\-sysinfo\_\-is\_\-locked} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$sysinfo) \begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the sysinfo instance is locked. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \end{Indent} \begin{Indent}{\bf Evaluators}\par {\em \label{_amgrp1fdbbbb8aba6580be2c9cb4b12e86ca2} }\begin{DoxyCompactItemize} \item \hypertarget{group__OVALSYS_ga2866bc725cec9baf18301b65c89c36f4}{ bool \hyperlink{group__OVALSYS_ga2866bc725cec9baf18301b65c89c36f4}{oval\_\-sysinfo\_\-is\_\-valid} (struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$sysinfo)} \label{group__OVALSYS_ga2866bc725cec9baf18301b65c89c36f4} \begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the sysinfo instance is valid. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \end{Indent} \subsection*{Data Fields} \begin{DoxyCompactItemize} \item \hypertarget{structoval__sysinfo_a8053a1e2166e94d4d6085f0d29c516d4}{ struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$ {\bfseries model}} \label{structoval__sysinfo_a8053a1e2166e94d4d6085f0d29c516d4} \item \hypertarget{structoval__sysinfo_af12b3e6c344830542daca3fb1afa3513}{ char $\ast$ {\bfseries osName}} \label{structoval__sysinfo_af12b3e6c344830542daca3fb1afa3513} \item \hypertarget{structoval__sysinfo_a28dafccd0fefb743c402527199fc683f}{ char $\ast$ {\bfseries osVersion}} \label{structoval__sysinfo_a28dafccd0fefb743c402527199fc683f} \item \hypertarget{structoval__sysinfo_a034da3828e4f85d697685e2725c108ae}{ char $\ast$ {\bfseries osArchitecture}} \label{structoval__sysinfo_a034da3828e4f85d697685e2725c108ae} \item \hypertarget{structoval__sysinfo_ac440899e824d47903cf31e51d9fcc3fe}{ char $\ast$ {\bfseries primaryHostName}} \label{structoval__sysinfo_ac440899e824d47903cf31e51d9fcc3fe} \item \hypertarget{structoval__sysinfo_a89587947f478d36452e2c158bd8b8ce3}{ struct \hyperlink{structoval__collection}{oval\_\-collection} $\ast$ {\bfseries interfaces}} \label{structoval__sysinfo_a89587947f478d36452e2c158bd8b8ce3} \end{DoxyCompactItemize} \subsection{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. The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize} \item /home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/\hyperlink{oval__sysInfo_8c}{oval\_\-sysInfo.c}\item /home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/public/\hyperlink{oval__system__characteristics_8h}{oval\_\-system\_\-characteristics.h}\end{DoxyCompactItemize}