\hypertarget{oval__resultCriteriaNode_8c}{ \section{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-resultCriteriaNode.c File Reference} \label{oval__resultCriteriaNode_8c}\index{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-resultCriteriaNode.c@{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-resultCriteriaNode.c}} } Open Vulnerability and Assessment Language. {\ttfamily \#include $<$stdlib.h$>$}\par {\ttfamily \#include $<$stdio.h$>$}\par {\ttfamily \#include $<$stdarg.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`\"{}../common/util.h\char`\"{}}\par {\ttfamily \#include \char`\"{}../common/public/debug.h\char`\"{}}\par \subsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} \item struct \hyperlink{structoval__result__criteria__node__CRITERIA}{oval\_\-result\_\-criteria\_\-node\_\-CRITERIA} \item struct \hyperlink{structoval__result__criteria__node__CRITERION}{oval\_\-result\_\-criteria\_\-node\_\-CRITERION} \item struct \hyperlink{structoval__result__criteria__node__EXTENDDEF}{oval\_\-result\_\-criteria\_\-node\_\-EXTENDDEF} \end{DoxyCompactItemize} \subsection*{Defines} \begin{DoxyCompactItemize} \item \hypertarget{oval__resultCriteriaNode_8c_adf770fe2eec438e3758ffe905dbae208}{ \#define {\bfseries INVALID}~(counts\mbox{[}0\mbox{]})} \label{oval__resultCriteriaNode_8c_adf770fe2eec438e3758ffe905dbae208} \item \hypertarget{oval__resultCriteriaNode_8c_a82b3319607eba91cfefabe232a509ec3}{ \#define {\bfseries \_\-CT}~(counts\mbox{[}1\mbox{]})} \label{oval__resultCriteriaNode_8c_a82b3319607eba91cfefabe232a509ec3} \item \hypertarget{oval__resultCriteriaNode_8c_a149ebb13d3ab4d9b224095fcf550bf04}{ \#define {\bfseries \_\-CF}~(counts\mbox{[}2\mbox{]})} \label{oval__resultCriteriaNode_8c_a149ebb13d3ab4d9b224095fcf550bf04} \item \hypertarget{oval__resultCriteriaNode_8c_a398478719a6e5239a6c48c998a6cb66b}{ \#define {\bfseries \_\-CU}~(counts\mbox{[}3\mbox{]})} \label{oval__resultCriteriaNode_8c_a398478719a6e5239a6c48c998a6cb66b} \item \hypertarget{oval__resultCriteriaNode_8c_a26bd70244cb0d99ddde2a1c73bfa93d7}{ \#define {\bfseries \_\-CE}~(counts\mbox{[}4\mbox{]})} \label{oval__resultCriteriaNode_8c_a26bd70244cb0d99ddde2a1c73bfa93d7} \item \hypertarget{oval__resultCriteriaNode_8c_ab06241c97a51c902367c1753871e4745}{ \#define {\bfseries \_\-CNE}~(counts\mbox{[}5\mbox{]})} \label{oval__resultCriteriaNode_8c_ab06241c97a51c902367c1753871e4745} \item \hypertarget{oval__resultCriteriaNode_8c_a58a06184c7ec1fdef0309296f55b31e0}{ \#define {\bfseries \_\-CNA}~(counts\mbox{[}6\mbox{]})} \label{oval__resultCriteriaNode_8c_a58a06184c7ec1fdef0309296f55b31e0} \end{DoxyCompactItemize} \subsection*{Typedefs} \begin{DoxyCompactItemize} \item \hypertarget{oval__resultCriteriaNode_8c_a6a7340df5626c5561f2180595648a4f6}{ typedef struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} {\bfseries oval\_\-result\_\-criteria\_\-node\_\-t}} \label{oval__resultCriteriaNode_8c_a6a7340df5626c5561f2180595648a4f6} \item \hypertarget{oval__resultCriteriaNode_8c_ae99c932f50680c99d62225133fb0171b}{ typedef struct \hyperlink{structoval__result__criteria__node__CRITERIA}{oval\_\-result\_\-criteria\_\-node\_\-CRITERIA} {\bfseries oval\_\-result\_\-criteria\_\-node\_\-CRITERIA\_\-t}} \label{oval__resultCriteriaNode_8c_ae99c932f50680c99d62225133fb0171b} \item \hypertarget{oval__resultCriteriaNode_8c_a0b00538161a19cd01cec46c91d4a8ed2}{ typedef struct \hyperlink{structoval__result__criteria__node__CRITERION}{oval\_\-result\_\-criteria\_\-node\_\-CRITERION} {\bfseries oval\_\-result\_\-criteria\_\-node\_\-CRITERION\_\-t}} \label{oval__resultCriteriaNode_8c_a0b00538161a19cd01cec46c91d4a8ed2} \item \hypertarget{oval__resultCriteriaNode_8c_ad37a151d772f4222614211478967736d}{ typedef struct \hyperlink{structoval__result__criteria__node__EXTENDDEF}{oval\_\-result\_\-criteria\_\-node\_\-EXTENDDEF} {\bfseries oval\_\-result\_\-criteria\_\-node\_\-EXTENDDEF\_\-t}} \label{oval__resultCriteriaNode_8c_ad37a151d772f4222614211478967736d} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item \hypertarget{oval__resultCriteriaNode_8c_a84caacd87c94c77c14437dedf1a273cb}{ struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$ {\bfseries oval\_\-result\_\-criteria\_\-node\_\-new} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, \hyperlink{group__OVALDEF_ga6d0c5bdab379cdf9908e086efd4d9cca}{oval\_\-criteria\_\-node\_\-type\_\-t} type, int negate,...)} \label{oval__resultCriteriaNode_8c_a84caacd87c94c77c14437dedf1a273cb} \item \hypertarget{oval__resultCriteriaNode_8c_a159499a49b64733567bc9cac0e95f438}{ bool {\bfseries oval\_\-result\_\-criteria\_\-node\_\-is\_\-valid} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$result\_\-criteria\_\-node)} \label{oval__resultCriteriaNode_8c_a159499a49b64733567bc9cac0e95f438} \item \hypertarget{oval__resultCriteriaNode_8c_a026a4b3154c643aa83f5c515764b9ab5}{ bool {\bfseries oval\_\-result\_\-criteria\_\-node\_\-is\_\-locked} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$result\_\-criteria\_\-node)} \label{oval__resultCriteriaNode_8c_a026a4b3154c643aa83f5c515764b9ab5} \item \hypertarget{oval__resultCriteriaNode_8c_afbd021dc7a78b49f96466bca8efe2425}{ struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$ {\bfseries oval\_\-result\_\-criteria\_\-node\_\-clone} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$new\_\-system, struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$old\_\-node)} \label{oval__resultCriteriaNode_8c_afbd021dc7a78b49f96466bca8efe2425} \item \hypertarget{oval__resultCriteriaNode_8c_a736de8c563e7803442f77dac614d39af}{ void {\bfseries oval\_\-result\_\-criteria\_\-node\_\-free} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node)} \label{oval__resultCriteriaNode_8c_a736de8c563e7803442f77dac614d39af} \item \hypertarget{oval__resultCriteriaNode_8c_acd8a559274bb8e88d15c69659d1800d1}{ struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$ {\bfseries make\_\-result\_\-criteria\_\-node\_\-from\_\-oval\_\-criteria\_\-node} (struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, struct \hyperlink{structoval__criteria__node}{oval\_\-criteria\_\-node} $\ast$oval\_\-node)} \label{oval__resultCriteriaNode_8c_acd8a559274bb8e88d15c69659d1800d1} \item \hypertarget{oval__resultCriteriaNode_8c_a5be53384b5549e4f354c24efd74401d1}{ bool {\bfseries oval\_\-result\_\-criteria\_\-node\_\-iterator\_\-has\_\-more} (struct \hyperlink{structoval__result__criteria__node__iterator}{oval\_\-result\_\-criteria\_\-node\_\-iterator} $\ast$oc\_\-result\_\-criteria\_\-node)} \label{oval__resultCriteriaNode_8c_a5be53384b5549e4f354c24efd74401d1} \item \hypertarget{oval__resultCriteriaNode_8c_a2ba7248d97a56111d58e353ac4b4af26}{ struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$ {\bfseries oval\_\-result\_\-criteria\_\-node\_\-iterator\_\-next} (struct \hyperlink{structoval__result__criteria__node__iterator}{oval\_\-result\_\-criteria\_\-node\_\-iterator} $\ast$oc\_\-result\_\-criteria\_\-node)} \label{oval__resultCriteriaNode_8c_a2ba7248d97a56111d58e353ac4b4af26} \item \hypertarget{oval__resultCriteriaNode_8c_adc51bd15227fd8ca47ef963829971edb}{ void {\bfseries oval\_\-result\_\-criteria\_\-node\_\-iterator\_\-free} (struct \hyperlink{structoval__result__criteria__node__iterator}{oval\_\-result\_\-criteria\_\-node\_\-iterator} $\ast$oc\_\-result\_\-criteria\_\-node)} \label{oval__resultCriteriaNode_8c_adc51bd15227fd8ca47ef963829971edb} \item \hypertarget{group__OVALRES_ga00da33a81a83354d21b4eb3b5465f6ae}{ \hyperlink{group__OVALDEF_ga6d0c5bdab379cdf9908e086efd4d9cca}{oval\_\-criteria\_\-node\_\-type\_\-t} {\bfseries oval\_\-result\_\-criteria\_\-node\_\-get\_\-type} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node)} \label{group__OVALRES_ga00da33a81a83354d21b4eb3b5465f6ae} \item \hypertarget{oval__resultCriteriaNode_8c_ae6974ae8a229b381e42af334f2051749}{ oval\_\-result\_\-t {\bfseries oval\_\-result\_\-criteria\_\-node\_\-get\_\-result} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node)} \label{oval__resultCriteriaNode_8c_ae6974ae8a229b381e42af334f2051749} \item \hypertarget{oval__resultCriteriaNode_8c_a9d79d5d007b432f222b87613715513e6}{ bool {\bfseries oval\_\-result\_\-criteria\_\-node\_\-get\_\-negate} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node)} \label{oval__resultCriteriaNode_8c_a9d79d5d007b432f222b87613715513e6} \item \hypertarget{oval__resultCriteriaNode_8c_afcfd4ec1bbceece91ad07aa69be47769}{ \hyperlink{group__OVALDEF_gad5debd6ffe0c38c6de9108e86ee237e6}{oval\_\-operator\_\-t} {\bfseries oval\_\-result\_\-criteria\_\-node\_\-get\_\-operator} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node)} \label{oval__resultCriteriaNode_8c_afcfd4ec1bbceece91ad07aa69be47769} \item \hypertarget{oval__resultCriteriaNode_8c_a0e5107772e171ab8b1c6f43097727fd0}{ struct \hyperlink{structoval__result__criteria__node__iterator}{oval\_\-result\_\-criteria\_\-node\_\-iterator} $\ast$ {\bfseries oval\_\-result\_\-criteria\_\-node\_\-get\_\-subnodes} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node)} \label{oval__resultCriteriaNode_8c_a0e5107772e171ab8b1c6f43097727fd0} \item \hypertarget{oval__resultCriteriaNode_8c_aca94abadd771ba7f6057030c0776f804}{ struct \hyperlink{structoval__result__test}{oval\_\-result\_\-test} $\ast$ {\bfseries oval\_\-result\_\-criteria\_\-node\_\-get\_\-test} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node)} \label{oval__resultCriteriaNode_8c_aca94abadd771ba7f6057030c0776f804} \item \hypertarget{oval__resultCriteriaNode_8c_a20be308ebcf83704fe09fc871da530f7}{ struct \hyperlink{structoval__result__definition}{oval\_\-result\_\-definition} $\ast$ {\bfseries oval\_\-result\_\-criteria\_\-node\_\-get\_\-extends} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node)} \label{oval__resultCriteriaNode_8c_a20be308ebcf83704fe09fc871da530f7} \item \hypertarget{oval__resultCriteriaNode_8c_ac465f42222fe3193813b0b73f4fae67b}{ void {\bfseries oval\_\-result\_\-criteria\_\-node\_\-set\_\-result} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node, oval\_\-result\_\-t result)} \label{oval__resultCriteriaNode_8c_ac465f42222fe3193813b0b73f4fae67b} \item \hypertarget{oval__resultCriteriaNode_8c_a6cb0b467c6e0c76c0521eb0c229d14cd}{ void {\bfseries oval\_\-result\_\-criteria\_\-node\_\-set\_\-negate} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node, bool negate)} \label{oval__resultCriteriaNode_8c_a6cb0b467c6e0c76c0521eb0c229d14cd} \item \hypertarget{oval__resultCriteriaNode_8c_aa69ae266fa2b6445d1bcee3784b6bafd}{ void {\bfseries oval\_\-result\_\-criteria\_\-node\_\-set\_\-operator} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node, \hyperlink{group__OVALDEF_gad5debd6ffe0c38c6de9108e86ee237e6}{oval\_\-operator\_\-t} operator)} \label{oval__resultCriteriaNode_8c_aa69ae266fa2b6445d1bcee3784b6bafd} \item \hypertarget{oval__resultCriteriaNode_8c_a99c0ba9611847aa28db8b10ec50de0d0}{ void {\bfseries oval\_\-result\_\-criteria\_\-node\_\-add\_\-subnode} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node, struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$subnode)} \label{oval__resultCriteriaNode_8c_a99c0ba9611847aa28db8b10ec50de0d0} \item \hypertarget{oval__resultCriteriaNode_8c_a002f5b14b6255ab06251e13e00089a06}{ void {\bfseries oval\_\-result\_\-criteria\_\-node\_\-set\_\-test} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node, struct \hyperlink{structoval__result__test}{oval\_\-result\_\-test} $\ast$test)} \label{oval__resultCriteriaNode_8c_a002f5b14b6255ab06251e13e00089a06} \item \hypertarget{oval__resultCriteriaNode_8c_a2a266aed76c5d6093c685fc5278c92e8}{ void {\bfseries oval\_\-result\_\-criteria\_\-node\_\-set\_\-extends} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node, struct \hyperlink{structoval__result__definition}{oval\_\-result\_\-definition} $\ast$extends)} \label{oval__resultCriteriaNode_8c_a2a266aed76c5d6093c685fc5278c92e8} \item \hypertarget{oval__resultCriteriaNode_8c_a358e0c0861c79a9cea346bd4309d38a7}{ int {\bfseries oval\_\-result\_\-criteria\_\-node\_\-parse} (xmlTextReaderPtr reader, struct \hyperlink{structoval__parser__context}{oval\_\-parser\_\-context} $\ast$context, struct \hyperlink{structoval__result__system}{oval\_\-result\_\-system} $\ast$sys, \hyperlink{util_8h_ac32fc75588117050825915e52af52992}{oscap\_\-consumer\_\-func} consumer, void $\ast$client)} \label{oval__resultCriteriaNode_8c_a358e0c0861c79a9cea346bd4309d38a7} \item \hypertarget{oval__resultCriteriaNode_8c_a44ffad334f191c7b6ecfe4f585ba7c63}{ xmlNode $\ast$ {\bfseries oval\_\-result\_\-criteria\_\-node\_\-to\_\-dom} (struct \hyperlink{structoval__result__criteria__node}{oval\_\-result\_\-criteria\_\-node} $\ast$node, xmlDocPtr doc, xmlNode $\ast$parent)} \label{oval__resultCriteriaNode_8c_a44ffad334f191c7b6ecfe4f585ba7c63} \end{DoxyCompactItemize} \subsection{Detailed Description} Open Vulnerability and Assessment Language. See more details at \href{http://oval.mitre.org/}{\tt http://oval.mitre.org/}