Sophie

Sophie

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

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

\hypertarget{structcve__configuration}{
\section{cve\_\-configuration Struct Reference}
\label{structcve__configuration}\index{cve\_\-configuration@{cve\_\-configuration}}
}


Structure CVE vulnerable configuration data.  


{\ttfamily \#include $<$cve\_\-priv.h$>$}\subsection*{Public Member Functions}
\begin{Indent}{\bf Get functions}\par
{\em \label{_amgrpc2ac1eb4de8ec5add5567cbae2f237e5}
Functions for getting attributes from CVE model structures.

Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise. }\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{group__CVE_ga48a951e1fce489343e2f058fa0ecd18a}{cve\_\-configuration\_\-get\_\-id} (const struct \hyperlink{structcve__configuration}{cve\_\-configuration} $\ast$conf)
\begin{DoxyCompactList}\small\item\em Get CVE configuration id. \item\end{DoxyCompactList}\item 
struct \hyperlink{structcpe__testexpr}{cpe\_\-testexpr} $\ast$ \hyperlink{group__CVE_ga18913b7092aa274be46da7d34d7bfb67}{cve\_\-configuration\_\-get\_\-expr} (const struct \hyperlink{structcve__configuration}{cve\_\-configuration} $\ast$conf)
\begin{DoxyCompactList}\small\item\em Get CVE configuration test expression. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Set functions}\par
{\em \label{_amgrp8b7ecf2f4bd25da1aae981677901d55d}
Set functions assign values to members of structures except lists.

For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller. }\begin{DoxyCompactItemize}
\item 
bool \hyperlink{group__CVE_ga7b18998d77543a593e80e3530f12519d}{cve\_\-configuration\_\-set\_\-id} (struct \hyperlink{structcve__configuration}{cve\_\-configuration} $\ast$conf, const char $\ast$new\_\-id)
\begin{DoxyCompactList}\small\item\em Set id of CVE configuration. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf New functions}\par
{\em \label{_amgrp73a4128f20867fa23ebb2e75e58922df}
Constructors of CVE model structures.

Free function returns new empty allocated structure. If returns non NULL it need to be freed by the caller. }\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structcve__configuration}{cve\_\-configuration} $\ast$ \hyperlink{group__CVE_gaac76a1b4baca190d8abf9b3e0d65d7ce}{cve\_\-configuration\_\-new} (void)
\begin{DoxyCompactList}\small\item\em New CVE vulnerability configuration. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Free functions}\par
{\em \label{_amgrp237dd65bc76b7de56066830910ced6ed}
Destructors of CVE model structures.

Functions free structures with all members recursively. For simple deletion of entity use remove functions. }\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__CVE_ga36c0cf5d307f0af7ab26d84fcc2b6153}{cve\_\-configuration\_\-free} (struct \hyperlink{structcve__configuration}{cve\_\-configuration} $\ast$conf)
\begin{DoxyCompactList}\small\item\em Free CVE configuration. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structcve__configuration_a678c5979ba5c1f88836032aa31d75f79}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcve__configuration_a678c5979ba5c1f88836032aa31d75f79}

\item 
\hypertarget{structcve__configuration_a035c53690dd40f929754f7861a43be2f}{
char $\ast$ {\bfseries id}}
\label{structcve__configuration_a035c53690dd40f929754f7861a43be2f}

\item 
\hypertarget{structcve__configuration_aa5cfe72005358eb9da0559784a4b818e}{
struct \hyperlink{structcpe__testexpr}{cpe\_\-testexpr} $\ast$ {\bfseries expr}}
\label{structcve__configuration_aa5cfe72005358eb9da0559784a4b818e}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Structure CVE vulnerable configuration data. 

The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/CVE/\hyperlink{cve__priv_8c}{cve\_\-priv.c}\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/CVE/public/\hyperlink{cve_8h}{cve.h}\end{DoxyCompactItemize}