Sophie

Sophie

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

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

\hypertarget{structcpe__edition}{
\section{cpe\_\-edition Struct Reference}
\label{structcpe__edition}\index{cpe\_\-edition@{cpe\_\-edition}}
}


Edition of product update.  


{\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__edition__iterator}{cpe\_\-edition\_\-iterator} $\ast$ \hyperlink{group__cpedict_ga913e2117bb089fcb61b3a9d2fc93ecc4}{cpe\_\-update\_\-get\_\-editions} (const struct \hyperlink{structcpe__update}{cpe\_\-update} $\ast$items)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__update}{cpe\_\-update} functions to get editions of update \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__cpedict_ga171747be274c83799f834370b966b2ab}{cpe\_\-edition\_\-get\_\-value} (const struct \hyperlink{structcpe__edition}{cpe\_\-edition} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__edition}{cpe\_\-edition} functions to get value of edition \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_ga9ab05b9fc9bf3b9370a07decf5b1bd08}{cpe\_\-edition\_\-free} (struct \hyperlink{structcpe__edition}{cpe\_\-edition} $\ast$edition)
\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__edition}{cpe\_\-edition} $\ast$ \hyperlink{group__cpedict_ga8f79acfce7b5eedd216f64d76eff26a9}{cpe\_\-edition\_\-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_ga7555dd2a609fffde28eaf3f4f7edde50}{cpe\_\-edition\_\-set\_\-value} (struct \hyperlink{structcpe__edition}{cpe\_\-edition} $\ast$edition, 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_ga457b5ce27a6bd2c0e1f85566d854f0e0}{cpe\_\-edition\_\-add\_\-language} (struct \hyperlink{structcpe__edition}{cpe\_\-edition} $\ast$edition, struct \hyperlink{structcpe__language}{cpe\_\-language} $\ast$new\_\-language)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structcpe__edition_ad2cd9fd630aeffab72750120dad5a8a3}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcpe__edition_ad2cd9fd630aeffab72750120dad5a8a3}

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

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

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Edition of product update. 

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}