\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{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__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 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_gae1227ae0834d6a9ccc4c5cd7c80b9b5f}{cpe\_\-version\_\-free} (struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$version) \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__version}{cpe\_\-version} $\ast$ \hyperlink{group__cpedict_ga01f368f7c6a1eebc69c7b77cd95f73c8}{cpe\_\-version\_\-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_gacaafde832e8614a12f8685586fd3880a}{cpe\_\-version\_\-set\_\-value} (struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$version, 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_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/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}