\hypertarget{oval__resultSystem_8c}{ \section{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-resultSystem.c File Reference} \label{oval__resultSystem_8c}\index{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-resultSystem.c@{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-resultSystem.c}} } Open Vulnerability and Assessment Language. {\ttfamily \#include $<$stdlib.h$>$}\par {\ttfamily \#include $<$stdio.h$>$}\par {\ttfamily \#include $<$string.h$>$}\par {\ttfamily \#include \char`\"{}oval\_\-results\_\-impl.h\char`\"{}}\par {\ttfamily \#include \char`\"{}oval\_\-collection\_\-impl.h\char`\"{}}\par {\ttfamily \#include \char`\"{}oval\_\-string\_\-map\_\-impl.h\char`\"{}}\par {\ttfamily \#include \char`\"{}public/oval\_\-definitions.h\char`\"{}}\par {\ttfamily \#include \char`\"{}public/oval\_\-agent\_\-api.h\char`\"{}}\par {\ttfamily \#include \char`\"{}../common/util.h\char`\"{}}\par {\ttfamily \#include \char`\"{}../common/public/debug.h\char`\"{}}\par \subsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} \end{DoxyCompactItemize} \subsection*{Typedefs} \begin{DoxyCompactItemize} \item \hypertarget{oval__resultSystem_8c_a8ebef674b44ac979f5edfd91b0e81244}{ typedef struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} {\bfseries oval\_\-result\_\-system\_\-t}} \label{oval__resultSystem_8c_a8ebef674b44ac979f5edfd91b0e81244} \item \hypertarget{oval__resultSystem_8c_ae7d285c5c0f369e804fc7a2e3f048293}{ typedef void($\ast$ {\bfseries \_\-oval\_\-result\_\-system\_\-clone\_\-func} )(struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$, void $\ast$)} \label{oval__resultSystem_8c_ae7d285c5c0f369e804fc7a2e3f048293} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item \hypertarget{oval__resultSystem_8c_a9f8f7bef504b362d2238e362e5401a5f}{ struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$ {\bfseries oval\_\-result\_\-system\_\-new} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$model, struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$syschar\_\-model)} \label{oval__resultSystem_8c_a9f8f7bef504b362d2238e362e5401a5f} \item \hypertarget{oval__resultSystem_8c_a0a6904a6bd4a3598ff1233387a03cd45}{ bool {\bfseries oval\_\-result\_\-system\_\-is\_\-valid} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$result\_\-system)} \label{oval__resultSystem_8c_a0a6904a6bd4a3598ff1233387a03cd45} \item \hypertarget{oval__resultSystem_8c_a74da84c354abfbcf146ce942c58efdee}{ bool {\bfseries oval\_\-result\_\-system\_\-is\_\-locked} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$result\_\-system)} \label{oval__resultSystem_8c_a74da84c354abfbcf146ce942c58efdee} \item \hypertarget{oval__resultSystem_8c_aaeed140b02ee22791599d5850ae9cc94}{ struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$ {\bfseries oval\_\-result\_\-system\_\-clone} (struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$new\_\-model, struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$old\_\-system)} \label{oval__resultSystem_8c_aaeed140b02ee22791599d5850ae9cc94} \item \hypertarget{oval__resultSystem_8c_a6632988f21a65cbb43e1f109234447b1}{ void {\bfseries oval\_\-result\_\-system\_\-free} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys)} \label{oval__resultSystem_8c_a6632988f21a65cbb43e1f109234447b1} \item \hypertarget{oval__resultSystem_8c_ab7f0af4ebf8fab3739cce6bb77e2ab92}{ bool {\bfseries oval\_\-result\_\-system\_\-iterator\_\-has\_\-more} (struct \hyperlink{structoval__result__system__iterator}{oval\_\-result\_\-system\_\-iterator} $\ast$sys)} \label{oval__resultSystem_8c_ab7f0af4ebf8fab3739cce6bb77e2ab92} \item \hypertarget{oval__resultSystem_8c_aba040dcc3630e089da6bcc6a7139711c}{ struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$ {\bfseries oval\_\-result\_\-system\_\-iterator\_\-next} (struct \hyperlink{structoval__result__system__iterator}{oval\_\-result\_\-system\_\-iterator} $\ast$sys)} \label{oval__resultSystem_8c_aba040dcc3630e089da6bcc6a7139711c} \item \hypertarget{oval__resultSystem_8c_acd35e0ac05f24bfd19c6bc1b6ec8ef08}{ void {\bfseries oval\_\-result\_\-system\_\-iterator\_\-free} (struct \hyperlink{structoval__result__system__iterator}{oval\_\-result\_\-system\_\-iterator} $\ast$sys)} \label{oval__resultSystem_8c_acd35e0ac05f24bfd19c6bc1b6ec8ef08} \item \hypertarget{oval__resultSystem_8c_acc269109fae8d3cdbde547758fab424a}{ struct \hyperlink{structoval__result__definition__iterator}{oval\_\-result\_\-definition\_\-iterator} $\ast$ {\bfseries oval\_\-result\_\-system\_\-get\_\-definitions} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys)} \label{oval__resultSystem_8c_acc269109fae8d3cdbde547758fab424a} \item \hypertarget{oval__resultSystem_8c_a660a82cd44dc705921c30194814da444}{ struct \hyperlink{structoval__result__test__iterator}{oval\_\-result\_\-test\_\-iterator} $\ast$ {\bfseries oval\_\-result\_\-system\_\-get\_\-tests} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys)} \label{oval__resultSystem_8c_a660a82cd44dc705921c30194814da444} \item \hypertarget{oval__resultSystem_8c_ad696e54f84f3f5013649e88762237d5a}{ struct \hyperlink{structoval__result__definition}{oval\_\-result\_\-definition} $\ast$ {\bfseries oval\_\-result\_\-system\_\-get\_\-definition} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, char $\ast$id)} \label{oval__resultSystem_8c_ad696e54f84f3f5013649e88762237d5a} \item \hypertarget{oval__resultSystem_8c_a129998d9c0414c580eb9508fd36872e1}{ struct \hyperlink{structoval__result__test}{oval\_\-result\_\-test} $\ast$ {\bfseries oval\_\-result\_\-system\_\-get\_\-test} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, char $\ast$id)} \label{oval__resultSystem_8c_a129998d9c0414c580eb9508fd36872e1} \item \hypertarget{oval__resultSystem_8c_a1a2f7da57f9da18c117fe433886fbfdf}{ struct \hyperlink{structoval__result__definition}{oval\_\-result\_\-definition} $\ast$ {\bfseries oval\_\-result\_\-system\_\-get\_\-new\_\-definition} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, struct \hyperlink{structoval__definition}{oval\_\-definition} $\ast$\hyperlink{structoval__definition}{oval\_\-definition})} \label{oval__resultSystem_8c_a1a2f7da57f9da18c117fe433886fbfdf} \item \hypertarget{oval__resultSystem_8c_aaebf26771cc05fe5198830dba1469adc}{ struct \hyperlink{structoval__result__test}{oval\_\-result\_\-test} $\ast$ {\bfseries get\_\-oval\_\-result\_\-test\_\-new} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, struct \hyperlink{structoval__test}{oval\_\-test} $\ast$\hyperlink{structoval__test}{oval\_\-test})} \label{oval__resultSystem_8c_aaebf26771cc05fe5198830dba1469adc} \item \hypertarget{oval__resultSystem_8c_aa5b5447827ebb07045c81ac00bd33ab0}{ struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$ {\bfseries oval\_\-result\_\-system\_\-get\_\-syschar\_\-model} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys)} \label{oval__resultSystem_8c_aa5b5447827ebb07045c81ac00bd33ab0} \item \hypertarget{oval__resultSystem_8c_a53534c88d466bbf7a784a8d5335f7ce4}{ struct \hyperlink{structoval__sysinfo}{oval\_\-sysinfo} $\ast$ {\bfseries oval\_\-result\_\-system\_\-get\_\-sysinfo} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys)} \label{oval__resultSystem_8c_a53534c88d466bbf7a784a8d5335f7ce4} \item \hypertarget{oval__resultSystem_8c_ab4f0e29ff9b9f68396284ae77f0ca369}{ void {\bfseries oval\_\-result\_\-system\_\-add\_\-definition} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, struct \hyperlink{structoval__result__definition}{oval\_\-result\_\-definition} $\ast$definition)} \label{oval__resultSystem_8c_ab4f0e29ff9b9f68396284ae77f0ca369} \item \hypertarget{oval__resultSystem_8c_a83f3844c663d67ea52fe5a59b0e129a6}{ void {\bfseries oval\_\-result\_\-system\_\-add\_\-test} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, struct \hyperlink{structoval__result__test}{oval\_\-result\_\-test} $\ast$test)} \label{oval__resultSystem_8c_a83f3844c663d67ea52fe5a59b0e129a6} \item \hypertarget{oval__resultSystem_8c_a1a227968d806bfb5327d9a07fdc94946}{ int {\bfseries oval\_\-result\_\-system\_\-parse} (xmlTextReaderPtr reader, struct \hyperlink{structoval__parser__context}{oval\_\-parser\_\-context} $\ast$context, struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$syschar\_\-model, \hyperlink{util_8h_ac32fc75588117050825915e52af52992}{oscap\_\-consumer\_\-func} consumer, void $\ast$client)} \label{oval__resultSystem_8c_a1a227968d806bfb5327d9a07fdc94946} \item \hypertarget{oval__resultSystem_8c_ada798dece3bd5faf14787dae4a3ceca7}{ xmlNode $\ast$ {\bfseries oval\_\-result\_\-system\_\-to\_\-dom} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, struct \hyperlink{structoval__results__model}{oval\_\-results\_\-model} $\ast$results\_\-model, struct \hyperlink{structoval__result__directives}{oval\_\-result\_\-directives} $\ast$directives, xmlDocPtr doc, xmlNode $\ast$parent)} \label{oval__resultSystem_8c_ada798dece3bd5faf14787dae4a3ceca7} \end{DoxyCompactItemize} \subsection{Detailed Description} Open Vulnerability and Assessment Language. See more details at \href{http://oval.mitre.org/}{\tt http://oval.mitre.org/}