Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 3736f276bb1ccfbcee6cb2d27b25d981 > files > 678

openscap-devel-0.5.7-1mdv2010.1.x86_64.rpm

\hypertarget{oval__variable_8c}{
\section{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-variable.c File Reference}
\label{oval__variable_8c}\index{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-variable.c@{/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/oval\_\-variable.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\_\-definitions\_\-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`\"{}oval\_\-agent\_\-api\_\-impl.h\char`\"{}}\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{structoval__variable}{oval\_\-variable}
\begin{DoxyCompactList}\small\item\em An oval variable resolves an \hyperlink{structoval__value}{oval\_\-value} stream which specifies constraints for \hyperlink{structoval__object}{oval\_\-object}{\bfseries s} and \hyperlink{structoval__state}{oval\_\-state}{\bfseries s}. \item\end{DoxyCompactList}\item 
struct \hyperlink{structoval__variable__LOCAL}{oval\_\-variable\_\-LOCAL}
\end{DoxyCompactItemize}
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\hypertarget{oval__variable_8c_a3895c6bc908222fdb1f6d24c0a8b40e9}{
\#define {\bfseries DEFINITION\_\-NAMESPACE}~\char`\"{}http://oval.mitre.org/XMLSchema/oval-\/definitions-\/5\char`\"{}}
\label{oval__variable_8c_a3895c6bc908222fdb1f6d24c0a8b40e9}

\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{oval__variable_8c_a94328b746ecb729afa70fae6bcfdfa1a}{
typedef struct \hyperlink{structoval__variable}{oval\_\-variable} {\bfseries oval\_\-variable\_\-t}}
\label{oval__variable_8c_a94328b746ecb729afa70fae6bcfdfa1a}

\item 
\hypertarget{oval__variable_8c_a032258921a4132214f7c2d1415f6e8bd}{
typedef struct \hyperlink{structoval__variable}{oval\_\-variable} {\bfseries oval\_\-variable\_\-CONEXT\_\-t}}
\label{oval__variable_8c_a032258921a4132214f7c2d1415f6e8bd}

\item 
\hypertarget{oval__variable_8c_a028229eea2b6e02ab9627d36a6cb169a}{
typedef struct \hyperlink{structoval__variable__LOCAL}{oval\_\-variable\_\-LOCAL} {\bfseries oval\_\-variable\_\-LOCAL\_\-t}}
\label{oval__variable_8c_a028229eea2b6e02ab9627d36a6cb169a}

\item 
\hypertarget{oval__variable_8c_aeff175faa05a8336a805dcc5e2a0a2ae}{
typedef struct \hyperlink{structoval__variable__LOCAL}{oval\_\-variable\_\-LOCAL} {\bfseries oval\_\-variable\_\-UNKNOWN\_\-t}}
\label{oval__variable_8c_aeff175faa05a8336a805dcc5e2a0a2ae}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{oval__variable_8c_a692a74b9c527872ce379c7d5369b954f}{
bool {\bfseries oval\_\-variable\_\-iterator\_\-has\_\-more} (struct \hyperlink{structoval__variable__iterator}{oval\_\-variable\_\-iterator} $\ast$oc\_\-variable)}
\label{oval__variable_8c_a692a74b9c527872ce379c7d5369b954f}

\item 
\hypertarget{oval__variable_8c_aceb07a6a73ad8c4f5a607295a6ac0f6f}{
struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$ {\bfseries oval\_\-variable\_\-iterator\_\-next} (struct \hyperlink{structoval__variable__iterator}{oval\_\-variable\_\-iterator} $\ast$oc\_\-variable)}
\label{oval__variable_8c_aceb07a6a73ad8c4f5a607295a6ac0f6f}

\item 
\hypertarget{oval__variable_8c_a5335a0885c8ac723da35c7e49a04433e}{
void {\bfseries oval\_\-variable\_\-iterator\_\-free} (struct \hyperlink{structoval__variable__iterator}{oval\_\-variable\_\-iterator} $\ast$oc\_\-variable)}
\label{oval__variable_8c_a5335a0885c8ac723da35c7e49a04433e}

\item 
\hypertarget{oval__variable_8c_a8dfa400b946821c1fa246c6e9c3653fa}{
char $\ast$ {\bfseries oval\_\-variable\_\-get\_\-id} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_a8dfa400b946821c1fa246c6e9c3653fa}

\item 
\hypertarget{oval__variable_8c_a215440ce0d185542a3894d95051a8152}{
char $\ast$ {\bfseries oval\_\-variable\_\-get\_\-comment} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_a215440ce0d185542a3894d95051a8152}

\item 
\hypertarget{oval__variable_8c_af1c333cc35028c22bd2a2e9f5bb6471b}{
int {\bfseries oval\_\-variable\_\-get\_\-version} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_af1c333cc35028c22bd2a2e9f5bb6471b}

\item 
\hypertarget{oval__variable_8c_a7ada62eb9195d5a5428e560a218da530}{
bool {\bfseries oval\_\-variable\_\-get\_\-deprecated} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_a7ada62eb9195d5a5428e560a218da530}

\item 
\hypertarget{oval__variable_8c_aa6bcc38a1561de6ed0ae14392d16b7db}{
\hyperlink{group__OVALDEF_ga508c483d127b48e6190a40b401962db6}{oval\_\-variable\_\-type\_\-t} {\bfseries oval\_\-variable\_\-get\_\-type} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_aa6bcc38a1561de6ed0ae14392d16b7db}

\item 
\hypertarget{oval__variable_8c_a82858bee0fcd0c0266085dcf5b26472f}{
\hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} {\bfseries oval\_\-variable\_\-get\_\-datatype} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_a82858bee0fcd0c0266085dcf5b26472f}

\item 
\hypertarget{oval__variable_8c_ab1adc3c29835462398fbea4b28e25f7c}{
struct \hyperlink{structoval__value__iterator}{oval\_\-value\_\-iterator} $\ast$ {\bfseries oval\_\-variable\_\-get\_\-values} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_ab1adc3c29835462398fbea4b28e25f7c}

\item 
\hypertarget{oval__variable_8c_a278f98674eceee1b9a8dcfa79cf7d9a2}{
\hyperlink{group__OVALSYS_ga6ca9feb1c89087dbae7c7d3074a378c9}{oval\_\-syschar\_\-collection\_\-flag\_\-t} {\bfseries oval\_\-syschar\_\-model\_\-get\_\-variable\_\-collection\_\-flag} (struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$sysmod, struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_a278f98674eceee1b9a8dcfa79cf7d9a2}

\item 
\hypertarget{oval__variable_8c_a4e17da86a86346ac85f978e2efb08612}{
struct \hyperlink{structoval__value__iterator}{oval\_\-value\_\-iterator} $\ast$ {\bfseries oval\_\-syschar\_\-model\_\-get\_\-variable\_\-values} (struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$sysmod, struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_a4e17da86a86346ac85f978e2efb08612}

\item 
\hypertarget{oval__variable_8c_a903ab8a034f2297d370466dba0491ab6}{
struct \hyperlink{structoval__component}{oval\_\-component} $\ast$ {\bfseries oval\_\-variable\_\-get\_\-component} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_a903ab8a034f2297d370466dba0491ab6}

\item 
\hypertarget{oval__variable_8c_aab1f26cf4fc375d04dee767d992a8695}{
struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$ {\bfseries oval\_\-variable\_\-new} (struct \hyperlink{structoval__definition__model}{oval\_\-definition\_\-model} $\ast$model, char $\ast$id, \hyperlink{group__OVALDEF_ga508c483d127b48e6190a40b401962db6}{oval\_\-variable\_\-type\_\-t} type)}
\label{oval__variable_8c_aab1f26cf4fc375d04dee767d992a8695}

\item 
\hypertarget{oval__variable_8c_a3fef041ee5ec025ac0fc5927a5538742}{
bool {\bfseries oval\_\-variable\_\-is\_\-valid} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_a3fef041ee5ec025ac0fc5927a5538742}

\item 
\hypertarget{oval__variable_8c_aa99c5967d8423ffab7d848bcdf1e850a}{
bool {\bfseries oval\_\-variable\_\-is\_\-locked} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_aa99c5967d8423ffab7d848bcdf1e850a}

\item 
\hypertarget{oval__variable_8c_a5450b9543bf21519589ce34dd5da06e9}{
struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$ {\bfseries oval\_\-variable\_\-clone} (struct \hyperlink{structoval__definition__model}{oval\_\-definition\_\-model} $\ast$new\_\-model, struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$old\_\-variable)}
\label{oval__variable_8c_a5450b9543bf21519589ce34dd5da06e9}

\item 
\hypertarget{oval__variable_8c_af69fea334eb35a7da074d3ce6befef48}{
void {\bfseries oval\_\-variable\_\-free} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable)}
\label{oval__variable_8c_af69fea334eb35a7da074d3ce6befef48}

\item 
\hypertarget{oval__variable_8c_a138a0f059165e3dff22d610bf431bee7}{
void {\bfseries oval\_\-variable\_\-set\_\-datatype} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, \hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} datatype)}
\label{oval__variable_8c_a138a0f059165e3dff22d610bf431bee7}

\item 
\hypertarget{oval__variable_8c_a72695e61238ceedec28f036a4684a01b}{
void {\bfseries oval\_\-variable\_\-set\_\-type} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, \hyperlink{group__OVALDEF_ga508c483d127b48e6190a40b401962db6}{oval\_\-variable\_\-type\_\-t} type)}
\label{oval__variable_8c_a72695e61238ceedec28f036a4684a01b}

\item 
\hypertarget{oval__variable_8c_a9c6f57132599496e3e4e746b5344d175}{
void {\bfseries oval\_\-variable\_\-set\_\-comment} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, char $\ast$comm)}
\label{oval__variable_8c_a9c6f57132599496e3e4e746b5344d175}

\item 
\hypertarget{oval__variable_8c_a2a9f125c08c87920cc0953025fc99a8a}{
void {\bfseries oval\_\-variable\_\-set\_\-deprecated} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, bool deprecated)}
\label{oval__variable_8c_a2a9f125c08c87920cc0953025fc99a8a}

\item 
\hypertarget{oval__variable_8c_aadb6fc0b068693417126c026333ec0b9}{
void {\bfseries oval\_\-variable\_\-set\_\-version} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, int version)}
\label{oval__variable_8c_aadb6fc0b068693417126c026333ec0b9}

\item 
\hypertarget{oval__variable_8c_a87bfab457ce0299abbbbd3263f634b16}{
void {\bfseries oval\_\-variable\_\-add\_\-value} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, struct \hyperlink{structoval__value}{oval\_\-value} $\ast$value)}
\label{oval__variable_8c_a87bfab457ce0299abbbbd3263f634b16}

\item 
\hypertarget{oval__variable_8c_a934f55caea5e8572d992eee2e9a01914}{
void {\bfseries oval\_\-variable\_\-set\_\-component} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, struct \hyperlink{structoval__component}{oval\_\-component} $\ast$component)}
\label{oval__variable_8c_a934f55caea5e8572d992eee2e9a01914}

\item 
\hypertarget{oval__variable_8c_a92d8bcc5456802d4e54589f1f23b44d2}{
int {\bfseries oval\_\-variable\_\-parse\_\-tag} (xmlTextReaderPtr reader, struct \hyperlink{structoval__parser__context}{oval\_\-parser\_\-context} $\ast$context)}
\label{oval__variable_8c_a92d8bcc5456802d4e54589f1f23b44d2}

\item 
\hypertarget{oval__variable_8c_a3b7f0ac1c86e23d0a42b9c00ab7baacd}{
void {\bfseries oval\_\-variable\_\-to\_\-print} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, char $\ast$indent, int idx)}
\label{oval__variable_8c_a3b7f0ac1c86e23d0a42b9c00ab7baacd}

\item 
\hypertarget{oval__variable_8c_a8826bb1cb73d2968380b1f544092c2f3}{
xmlNode $\ast$ {\bfseries oval\_\-variable\_\-to\_\-dom} (struct \hyperlink{structoval__variable}{oval\_\-variable} $\ast$variable, xmlDoc $\ast$doc, xmlNode $\ast$parent)}
\label{oval__variable_8c_a8826bb1cb73d2968380b1f544092c2f3}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Open Vulnerability and Assessment Language. See more details at \href{http://oval.mitre.org/}{\tt http://oval.mitre.org/}