Sophie

Sophie

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

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

\hypertarget{structcpe__update}{
\section{cpe\_\-update Struct Reference}
\label{structcpe__update}\index{cpe\_\-update@{cpe\_\-update}}
}


Update of product version.  


{\ttfamily \#include $<$cpedict\_\-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 
struct \hyperlink{structcpe__update__iterator}{cpe\_\-update\_\-iterator} $\ast$ \hyperlink{group__cpedict_ga2d5e9e0f44885171b66f55eb25fea50e}{cpe\_\-version\_\-get\_\-updates} (const struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$items)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__version}{cpe\_\-version} functions to get value of version \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__cpedict_ga1e37dce2bb776e0a26ebacb111acfc78}{cpe\_\-update\_\-get\_\-value} (const struct \hyperlink{structcpe__update}{cpe\_\-update} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__update}{cpe\_\-update} functions to get updates of version \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__cpedict_ga7bef08622b2118d2aa3fcc2f852d0e71}{cpe\_\-update\_\-free} (struct \hyperlink{structcpe__update}{cpe\_\-update} $\ast$update)
\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{structcpe__update}{cpe\_\-update} $\ast$ \hyperlink{group__cpedict_gaa27cba86928c643d778c33d6fe3153c7}{cpe\_\-update\_\-new} (void)
\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__cpedict_ga6b6cb1a0dd76f599692dd321681959fd}{cpe\_\-update\_\-set\_\-value} (struct \hyperlink{structcpe__update}{cpe\_\-update} $\ast$update, const char $\ast$new\_\-value)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Add functions}\par
{\em \label{_amgrpaabced06c8a2e8c15954ce4b1e334884}
Functions to add member to list.

Return value is true if added succesfuly or false in case of error. }\begin{DoxyCompactItemize}
\item 
bool \hyperlink{group__cpedict_gaed49e9442fb935f5e8e6fcfc1bec95ff}{cpe\_\-update\_\-add\_\-edition} (struct \hyperlink{structcpe__update}{cpe\_\-update} $\ast$update, struct \hyperlink{structcpe__edition}{cpe\_\-edition} $\ast$new\_\-edition)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structcpe__update_ab85f4430102d9239ea886003aed1dd30}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcpe__update_ab85f4430102d9239ea886003aed1dd30}

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

\item 
\hypertarget{structcpe__update_a07bb1d4a054af3c1ac85c1159973b194}{
struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ {\bfseries editions}}
\label{structcpe__update_a07bb1d4a054af3c1ac85c1159973b194}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Update of product version. 

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