\hypertarget{structcpe__product}{ \section{cpe\_\-product Struct Reference} \label{structcpe__product}\index{cpe\_\-product@{cpe\_\-product}} } Product of some vendor. {\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 const char $\ast$ \hyperlink{group__cpedict_gac304c3229939357841cad71e7354658a}{cpe\_\-product\_\-get\_\-value} (const struct \hyperlink{structcpe__product}{cpe\_\-product} $\ast$item) \begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__product}{cpe\_\-product} functions to get product value \item\end{DoxyCompactList}\item \hyperlink{group__cpeuri_ga683b693cae1d4b68f257be24c4cc2ab7}{cpe\_\-part\_\-t} \hyperlink{group__cpedict_ga1f330d1dac61aa5445ed2d65bae3ae8a}{cpe\_\-product\_\-get\_\-part} (const struct \hyperlink{structcpe__product}{cpe\_\-product} $\ast$item) \begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__product}{cpe\_\-product} functions to get product part \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_gac2b660c7cc72b8981977031174f0722a}{cpe\_\-product\_\-free} (struct \hyperlink{structcpe__product}{cpe\_\-product} $\ast$product) \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__product}{cpe\_\-product} $\ast$ \hyperlink{group__cpedict_ga5ccd5f1552d69ed4514d6991da1c7c98}{cpe\_\-product\_\-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_ga535aba11293ccd15cfada1193964dbf1}{cpe\_\-product\_\-set\_\-value} (struct \hyperlink{structcpe__product}{cpe\_\-product} $\ast$product, const char $\ast$new\_\-value) \item bool \hyperlink{group__cpedict_gaf6c4dc296e3e151833371d3380053b3e}{cpe\_\-product\_\-set\_\-part} (struct \hyperlink{structcpe__product}{cpe\_\-product} $\ast$product, \hyperlink{group__cpeuri_ga683b693cae1d4b68f257be24c4cc2ab7}{cpe\_\-part\_\-t} new\_\-part) \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_ga97062fb5df4ce9312e40258a54ce0224}{cpe\_\-product\_\-add\_\-version} (struct \hyperlink{structcpe__product}{cpe\_\-product} $\ast$product, struct \hyperlink{structcpe__version}{cpe\_\-version} $\ast$new\_\-version) \end{DoxyCompactItemize} \end{Indent} \subsection*{Data Fields} \begin{DoxyCompactItemize} \item \hypertarget{structcpe__product_a74c6701b518a04e3352a026245cca147}{ struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}} \label{structcpe__product_a74c6701b518a04e3352a026245cca147} \item \hypertarget{structcpe__product_adf9d1e2cc3d399bcc46f1e80c642a2c4}{ char $\ast$ {\bfseries value}} \label{structcpe__product_adf9d1e2cc3d399bcc46f1e80c642a2c4} \item \hypertarget{structcpe__product_abb2c9e8cd0d486ef5853cd8f721ac8da}{ \hyperlink{group__cpeuri_ga683b693cae1d4b68f257be24c4cc2ab7}{cpe\_\-part\_\-t} {\bfseries part}} \label{structcpe__product_abb2c9e8cd0d486ef5853cd8f721ac8da} \item \hypertarget{structcpe__product_a8c124f2114e2231d954be77ef900d270}{ struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ {\bfseries versions}} \label{structcpe__product_a8c124f2114e2231d954be77ef900d270} \end{DoxyCompactItemize} \subsection{Detailed Description} Product of some vendor. 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}