Sophie

Sophie

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

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

\hypertarget{structcve__product}{
\section{cve\_\-product Struct Reference}
\label{structcve__product}\index{cve\_\-product@{cve\_\-product}}
}


Structure holding CVE product data.  


{\ttfamily \#include $<$cve\_\-priv.h$>$}\subsection*{Public Member Functions}
\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_ga12794f3c6e304e9c94c79f6c4e2ba3fd}{cve\_\-product\_\-set\_\-value} (struct \hyperlink{structcve__product}{cve\_\-product} $\ast$product, const char $\ast$new\_\-value)
\begin{DoxyCompactList}\small\item\em Set value of CVE product. \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__product}{cve\_\-product} $\ast$ \hyperlink{group__CVE_ga5866aa9b6ff9089bdd5e67db5805438a}{cve\_\-product\_\-new} (void)
\begin{DoxyCompactList}\small\item\em New CVE product. \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_ga3d0e1cf28156252a9ac84e1153950609}{cve\_\-product\_\-free} (struct \hyperlink{structcve__product}{cve\_\-product} $\ast$product)
\begin{DoxyCompactList}\small\item\em Free CVE product. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structcve__product_a783a897239c47e52679ac23a85396e7f}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcve__product_a783a897239c47e52679ac23a85396e7f}

\item 
\hypertarget{structcve__product_aa30fb23edebb92644b68185e0b92cc66}{
char $\ast$ {\bfseries value}}
\label{structcve__product_aa30fb23edebb92644b68185e0b92cc66}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Structure holding CVE product 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}