\hypertarget{oval__varModel_8c}{ \section{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-varModel.c File Reference} \label{oval__varModel_8c}\index{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-varModel.c@{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-varModel.c}} } Open Vulnerability and Assessment Language. {\ttfamily \#include \char`\"{}oval\_\-definitions\_\-impl.h\char`\"{}}\par {\ttfamily \#include \char`\"{}oval\_\-agent\_\-api\_\-impl.h\char`\"{}}\par {\ttfamily \#include \char`\"{}oval\_\-parser\_\-impl.h\char`\"{}}\par {\ttfamily \#include \char`\"{}oval\_\-string\_\-map\_\-impl.h\char`\"{}}\par {\ttfamily \#include \char`\"{}oval\_\-system\_\-characteristics\_\-impl.h\char`\"{}}\par {\ttfamily \#include \char`\"{}oval\_\-results\_\-impl.h\char`\"{}}\par {\ttfamily \#include $<$string.h$>$}\par {\ttfamily \#include $<$time.h$>$}\par {\ttfamily \#include \char`\"{}../common/util.h\char`\"{}}\par {\ttfamily \#include \char`\"{}../common/public/debug.h\char`\"{}}\par {\ttfamily \#include \char`\"{}../common/\_\-error.h\char`\"{}}\par \subsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \hyperlink{struct__oval__variable__model__frame}{\_\-oval\_\-variable\_\-model\_\-frame} \item struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} \begin{DoxyCompactList}\small\item\em The OVAL variable model facilitates access to external variable value bindings used to to constrain the evaluation of OVAL objects. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Defines} \begin{DoxyCompactItemize} \item \hypertarget{oval__varModel_8c_a25371a7f0a82ff5615668dbffa1aab99}{ \#define {\bfseries NAMESPACE\_\-VARIABLES}~\char`\"{}http://oval.mitre.org/XMLSchema/oval-\/variables-\/5\char`\"{}} \label{oval__varModel_8c_a25371a7f0a82ff5615668dbffa1aab99} \item \hypertarget{oval__varModel_8c_ab8da41942c915058f88f0bfa1c62b31c}{ \#define {\bfseries NAMESPACE\_\-COMMON}~\char`\"{}http://oval.mitre.org/XMLSchema/oval-\/common-\/5\char`\"{}} \label{oval__varModel_8c_ab8da41942c915058f88f0bfa1c62b31c} \end{DoxyCompactItemize} \subsection*{Typedefs} \begin{DoxyCompactItemize} \item \hypertarget{oval__varModel_8c_a7e256094a12651febcc5d51b820e069b}{ typedef struct \hyperlink{struct__oval__variable__model__frame}{\_\-oval\_\-variable\_\-model\_\-frame} {\bfseries \_\-oval\_\-variable\_\-model\_\-frame\_\-t}} \label{oval__varModel_8c_a7e256094a12651febcc5d51b820e069b} \item \hypertarget{oval__varModel_8c_a05bb7e79cea540a77f4ffc6f8abc62b4}{ typedef struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} {\bfseries oval\_\-variable\_\-model\_\-t}} \label{oval__varModel_8c_a05bb7e79cea540a77f4ffc6f8abc62b4} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item \hypertarget{oval__varModel_8c_af6bb2f236105616566abc218b91901c3}{ bool {\bfseries oval\_\-variable\_\-model\_\-is\_\-valid} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$variable\_\-model)} \label{oval__varModel_8c_af6bb2f236105616566abc218b91901c3} \item \hypertarget{oval__varModel_8c_a021f29cdfde3e07d67953eef473f5565}{ bool {\bfseries oval\_\-variable\_\-model\_\-is\_\-locked} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$variable\_\-model)} \label{oval__varModel_8c_a021f29cdfde3e07d67953eef473f5565} \item \hypertarget{oval__varModel_8c_a85e31b556710186bd3ee73af8005fc2b}{ void {\bfseries oval\_\-variable\_\-model\_\-lock} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$variable\_\-model)} \label{oval__varModel_8c_a85e31b556710186bd3ee73af8005fc2b} \item \hypertarget{oval__varModel_8c_af513a193a786a4b5c4256df8c96d937d}{ struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$ {\bfseries oval\_\-variable\_\-model\_\-new} ()} \label{oval__varModel_8c_af513a193a786a4b5c4256df8c96d937d} \item \hypertarget{oval__varModel_8c_a5f9768fe0c7726b3f22095ff04d25ae2}{ struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$ {\bfseries oval\_\-variable\_\-model\_\-clone} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$old\_\-model)} \label{oval__varModel_8c_a5f9768fe0c7726b3f22095ff04d25ae2} \item \hypertarget{oval__varModel_8c_af4a31d5fa622e24294b59d2d28ecba24}{ void {\bfseries oval\_\-variable\_\-model\_\-free} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$model)} \label{oval__varModel_8c_af4a31d5fa622e24294b59d2d28ecba24} \item \hypertarget{oval__varModel_8c_a40bfb54150b520871051b218cf3379a6}{ void {\bfseries oval\_\-variable\_\-model\_\-add} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$model, char $\ast$varid, const char $\ast$comm, \hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} datatype, char $\ast$value)} \label{oval__varModel_8c_a40bfb54150b520871051b218cf3379a6} \item \hypertarget{oval__varModel_8c_acdcc0ec8bca5b77194e5dedc1b82d64f}{ int {\bfseries oval\_\-variable\_\-model\_\-import} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$model, struct \hyperlink{structoscap__import__source}{oscap\_\-import\_\-source} $\ast$source, void $\ast$user\_\-param)} \label{oval__varModel_8c_acdcc0ec8bca5b77194e5dedc1b82d64f} \item \hypertarget{oval__varModel_8c_a681c8f79f4715584f70c9281c7ced3e9}{ int {\bfseries oval\_\-variable\_\-model\_\-export} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$model, struct \hyperlink{structoscap__export__target}{oscap\_\-export\_\-target} $\ast$target)} \label{oval__varModel_8c_a681c8f79f4715584f70c9281c7ced3e9} \item \hypertarget{oval__varModel_8c_a590e550a2cf174c8fd255afa10c4d47b}{ struct \hyperlink{structoval__string__iterator}{oval\_\-string\_\-iterator} $\ast$ {\bfseries oval\_\-variable\_\-model\_\-get\_\-variable\_\-ids} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$model)} \label{oval__varModel_8c_a590e550a2cf174c8fd255afa10c4d47b} \item \hypertarget{oval__varModel_8c_a926a04be1bf9d013773a32e1dc70dde3}{ \hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} {\bfseries oval\_\-variable\_\-model\_\-get\_\-datatype} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$model, char $\ast$varid)} \label{oval__varModel_8c_a926a04be1bf9d013773a32e1dc70dde3} \item \hypertarget{oval__varModel_8c_a69e69af071f54ec142eda48fd532739e}{ const char $\ast$ {\bfseries oval\_\-variable\_\-model\_\-get\_\-comment} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$model, char $\ast$varid)} \label{oval__varModel_8c_a69e69af071f54ec142eda48fd532739e} \item \hypertarget{oval__varModel_8c_aae39bf8980822770798756f3bfdbc6e3}{ struct \hyperlink{structoval__string__iterator}{oval\_\-string\_\-iterator} $\ast$ {\bfseries oval\_\-variable\_\-model\_\-get\_\-values} (struct \hyperlink{structoval__variable__model}{oval\_\-variable\_\-model} $\ast$model, char $\ast$varid)} \label{oval__varModel_8c_aae39bf8980822770798756f3bfdbc6e3} \end{DoxyCompactItemize} \subsection{Detailed Description} Open Vulnerability and Assessment Language. See more details at \href{http://oval.mitre.org/}{\tt http://oval.mitre.org/}