1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
\hypertarget{structcpe__version}{
\section{cpe\_\-version Struct Reference}
\label{structcpe__version}\index{cpe\_\-version@{cpe\_\-version}}
}
Version of product.
{\ttfamily \#include $<$cpedict\_\-priv.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
void \hyperlink{group__cpedict_gae1227ae0834d6a9ccc4c5cd7c80b9b5f}{cpe\_\-version\_\-free} (struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$version)
\item
struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$ \hyperlink{group__cpedict_ga01f368f7c6a1eebc69c7b77cd95f73c8}{cpe\_\-version\_\-new} (void)
\end{DoxyCompactItemize}
\begin{Indent}{\bf Getters}\par
{\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d}
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__version__iterator}{cpe\_\-version\_\-iterator} $\ast$ \hyperlink{group__cpedict_gaf9ac49181886998bd2024a58172a664c}{cpe\_\-product\_\-get\_\-versions} (const struct \hyperlink{structcpe__product}{cpe\_\-product} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__product}{cpe\_\-product} functions to get versions of product \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__cpedict_ga6c7e53dcc58061cb9ffcad9babd76d69}{cpe\_\-version\_\-get\_\-value} (const struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__version}{cpe\_\-version} functions to get vupdates of versions \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Setters}\par
{\em \label{_amgrp6e47466b75bb957a603aa54c079ac8bf}
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_gacaafde832e8614a12f8685586fd3880a}{cpe\_\-version\_\-set\_\-value} (struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$version, const char $\ast$new\_\-value)
\item
bool \hyperlink{group__cpedict_gadec47054fe1f5267516eaab6dec00683}{cpe\_\-version\_\-add\_\-update} (struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$version, struct \hyperlink{structcpe__update}{cpe\_\-update} $\ast$new\_\-update)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item
\hypertarget{structcpe__version_a23718b5432366836be38b5eb5d4f7a9e}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcpe__version_a23718b5432366836be38b5eb5d4f7a9e}
\item
\hypertarget{structcpe__version_a1a9bfaadeac3878ccc80cfed2f490b11}{
char $\ast$ {\bfseries value}}
\label{structcpe__version_a1a9bfaadeac3878ccc80cfed2f490b11}
\item
\hypertarget{structcpe__version_a333eb4c18761ce459210ee7b37d9d5b5}{
struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ {\bfseries updates}}
\label{structcpe__version_a333eb4c18761ce459210ee7b37d9d5b5}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
Version of product.
The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/CPE/\hyperlink{cpedict__priv_8c}{cpedict\_\-priv.c}\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/CPE/public/\hyperlink{cpedict_8h}{cpedict.h}\end{DoxyCompactItemize}
|