\hypertarget{structcpe__item__metadata}{ \section{cpe\_\-item\_\-metadata Struct Reference} \label{structcpe__item__metadata}\index{cpe\_\-item\_\-metadata@{cpe\_\-item\_\-metadata}} } Structure representing metadata of CPE item. {\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_ga01a8953e7c09b364d2548bba172a2db4}{cpe\_\-item\_\-metadata\_\-get\_\-modification\_\-date} (const struct \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} $\ast$item) \begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} function to get date \item\end{DoxyCompactList}\item const char $\ast$ \hyperlink{group__cpedict_ga39e7816451de3ce3b7933bb4beb03b6f}{cpe\_\-item\_\-metadata\_\-get\_\-status} (const struct \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} $\ast$item) \begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} function to get status \item\end{DoxyCompactList}\item const char $\ast$ \hyperlink{group__cpedict_ga7123dc15fb4d602d149e68e94dd9e3e7}{cpe\_\-item\_\-metadata\_\-get\_\-nvd\_\-id} (const struct \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} $\ast$item) \begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} function to get nvd ID \item\end{DoxyCompactList}\item const char $\ast$ \hyperlink{group__cpedict_ga72a5eb56bd60d3eef787969b82e3d3db}{cpe\_\-item\_\-metadata\_\-get\_\-deprecated\_\-by\_\-nvd\_\-id} (const struct \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} $\ast$item) \begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} function to get NVD ID of deprecated item \item\end{DoxyCompactList}\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__item__metadata}{cpe\_\-item\_\-metadata} $\ast$ \hyperlink{group__cpedict_ga59d7030803f4789d88f9f18788c5787d}{cpe\_\-item\_\-metadata\_\-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_ga6752cd4cddd6fced70d548f8aa2b3956}{cpe\_\-item\_\-metadata\_\-set\_\-modification\_\-date} (struct \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} $\ast$item\_\-metadata, const char $\ast$new\_\-modification\_\-date) \item bool \hyperlink{group__cpedict_ga7e2e84eb69192916cda5741d8f1fd81a}{cpe\_\-item\_\-metadata\_\-set\_\-status} (struct \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} $\ast$item\_\-metadata, const char $\ast$new\_\-status) \item bool \hyperlink{group__cpedict_gac36a53e3b3709dbf626f44fb46b9487a}{cpe\_\-item\_\-metadata\_\-set\_\-nvd\_\-id} (struct \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} $\ast$item\_\-metadata, const char $\ast$new\_\-nvd\_\-id) \item bool \hyperlink{group__cpedict_ga72da424f5c535ddb9b74acc0da3ec110}{cpe\_\-item\_\-metadata\_\-set\_\-deprecated\_\-by\_\-nvd\_\-id} (struct \hyperlink{structcpe__item__metadata}{cpe\_\-item\_\-metadata} $\ast$item\_\-metadata, const char $\ast$new\_\-deprecated\_\-by\_\-nvd\_\-id) \end{DoxyCompactItemize} \end{Indent} \subsection{Detailed Description} Structure representing metadata of CPE item. 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_8h}{cpedict\_\-priv.h}\item /home/pvrabec/openscap/openscap-\/0.5.7/src/CPE/public/\hyperlink{cpedict_8h}{cpedict.h}\end{DoxyCompactItemize}