\hypertarget{structoval__results__model}{ \section{oval\_\-results\_\-model Struct Reference} \label{structoval__results__model}\index{oval\_\-results\_\-model@{oval\_\-results\_\-model}} } OVAL Results Model holds OVAL results structure instances. {\ttfamily \#include $<$oval\_\-results.h$>$}\subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item struct \hyperlink{structoval__result__directives}{oval\_\-result\_\-directives} $\ast$ \hyperlink{group__OVALRES_ga58c64b272f4d83fe72baa3f4c59bea20}{oval\_\-results\_\-model\_\-import} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$, struct \hyperlink{structoscap__import__source}{oscap\_\-import\_\-source} $\ast$, void $\ast$) \begin{DoxyCompactList}\small\item\em Load oval results from XML file. \item\end{DoxyCompactList}\item struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$ \hyperlink{group__OVALRES_ga4ed7e35ea3e0ea3cddde488fc6b94da2}{oval\_\-results\_\-model\_\-new} (struct \hyperlink{structoval__definition__model}{oval\_\-definition\_\-model} $\ast$definition\_\-model, struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$$\ast$) \begin{DoxyCompactList}\small\item\em Create new \hyperlink{structoval__results__model}{oval\_\-results\_\-model}. \item\end{DoxyCompactList}\item \hypertarget{group__OVALRES_ga901e893f2d37f85de25cb9b92c5faf93}{ struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$ \hyperlink{group__OVALRES_ga901e893f2d37f85de25cb9b92c5faf93}{oval\_\-results\_\-model\_\-clone} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$)} \label{group__OVALRES_ga901e893f2d37f85de25cb9b92c5faf93} \begin{DoxyCompactList}\small\item\em Copy an \hyperlink{structoval__results__model}{oval\_\-results\_\-model}. \item\end{DoxyCompactList}\item void \hyperlink{group__OVALRES_ga0600f9cf5894d14c7590f1cd863318de}{oval\_\-results\_\-model\_\-free} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$model) \begin{DoxyCompactList}\small\item\em free memory allocated to a specified oval results model. \item\end{DoxyCompactList}\item int \hyperlink{group__OVALRES_ga2325f26bb7fefbe1055d75a8345bbf2f}{oval\_\-results\_\-model\_\-export} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$, struct \hyperlink{structoval__result__directives}{oval\_\-result\_\-directives} $\ast$, struct \hyperlink{structoscap__export__target}{oscap\_\-export\_\-target} $\ast$) \begin{DoxyCompactList}\small\item\em export oval results to XML file. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \begin{Indent}{\bf Setters}\par {\em \label{_amgrp6e47466b75bb957a603aa54c079ac8bf} }\begin{DoxyCompactItemize} \item \hypertarget{group__OVALRES_ga06cc18b21ebba239015ea705018ebae5}{ void {\bfseries oval\_\-results\_\-model\_\-add\_\-system} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$, struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$)} \label{group__OVALRES_ga06cc18b21ebba239015ea705018ebae5} \item void \hyperlink{group__OVALRES_gad166d097b713a8e0c38118073e4d8aeb}{oval\_\-results\_\-model\_\-lock} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$result\_\-model) \begin{DoxyCompactList}\small\item\em Lock the result\_\-model instance. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \end{Indent} \begin{Indent}{\bf Getters}\par {\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d} }\begin{DoxyCompactItemize} \item struct \hyperlink{structoval__definition__model}{oval\_\-definition\_\-model} $\ast$ \hyperlink{group__OVALRES_gab6db451d4418b26121fd81ed80a069d4}{oval\_\-results\_\-model\_\-get\_\-definition\_\-model} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$model) \begin{DoxyCompactList}\small\item\em oval\_\-results\_\-model\_\-definition\_\-model Return bound object model from an \hyperlink{structoval__results__model}{oval\_\-results\_\-model}. \item\end{DoxyCompactList}\item struct \hyperlink{structoval__result__system__iterator}{oval\_\-result\_\-system\_\-iterator} $\ast$ \hyperlink{group__OVALRES_ga9446dce32ffdb0f50e771b672a9476f3}{oval\_\-results\_\-model\_\-get\_\-systems} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$) \begin{DoxyCompactList}\small\item\em Return iterator over reporting systems. \item\end{DoxyCompactList}\item bool \hyperlink{group__OVALRES_gae5f2d3d197faf11c0d1a9f287f5c6873}{oval\_\-results\_\-model\_\-is\_\-locked} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$result\_\-model) \begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the result\_\-model instance is locked. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \end{Indent} \begin{Indent}{\bf Evaluators}\par {\em \label{_amgrp1fdbbbb8aba6580be2c9cb4b12e86ca2} }\begin{DoxyCompactItemize} \item \hypertarget{group__OVALRES_gac1e1f68d807d2e5d2d853f8a95cbb4d8}{ bool \hyperlink{group__OVALRES_gac1e1f68d807d2e5d2d853f8a95cbb4d8}{oval\_\-results\_\-model\_\-is\_\-valid} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$results\_\-model)} \label{group__OVALRES_gac1e1f68d807d2e5d2d853f8a95cbb4d8} \begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the results\_\-model instance is valid. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \end{Indent} \subsection*{Data Fields} \begin{DoxyCompactItemize} \item \hypertarget{structoval__results__model_a7f211f510e0c188def71acde5d7f0305}{ struct \hyperlink{structoval__definition__model}{oval\_\-definition\_\-model} $\ast$ {\bfseries definition\_\-model}} \label{structoval__results__model_a7f211f510e0c188def71acde5d7f0305} \item \hypertarget{structoval__results__model_a38f4d4288c7243461bfda8d45715e600}{ struct \hyperlink{structoval__collection}{oval\_\-collection} $\ast$ {\bfseries systems}} \label{structoval__results__model_a38f4d4288c7243461bfda8d45715e600} \item \hypertarget{structoval__results__model_aff75f7fceab2a5779a375a1491e43ccc}{ bool {\bfseries is\_\-locked}} \label{structoval__results__model_aff75f7fceab2a5779a375a1491e43ccc} \end{DoxyCompactItemize} \subsection{Detailed Description} OVAL Results Model holds OVAL results structure instances. 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__agent_8c}{oval\_\-agent.c}\item /home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/public/\hyperlink{oval__results_8h}{oval\_\-results.h}\end{DoxyCompactItemize}