\hypertarget{structcpe__language}{ \section{cpe\_\-language Struct Reference} \label{structcpe__language}\index{cpe\_\-language@{cpe\_\-language}} } Language of product edition. {\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__language__iterator}{cpe\_\-language\_\-iterator} $\ast$ \hyperlink{group__cpedict_gad2daf082c035af89c1acd5cc5cc59337}{cpe\_\-edition\_\-get\_\-languages} (const struct \hyperlink{structcpe__edition}{cpe\_\-edition} $\ast$items) \begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__edition}{cpe\_\-edition} functions to get languages of edition \item\end{DoxyCompactList}\item const char $\ast$ \hyperlink{group__cpedict_ga2b07293a6bc609b0ba65524cec56b446}{cpe\_\-language\_\-get\_\-value} (const struct \hyperlink{structcpe__language}{cpe\_\-language} $\ast$item) \begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__language}{cpe\_\-language} functions to get value of language \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_ga1f0aaad9bf1b49015c91537e1808bac8}{cpe\_\-language\_\-free} (struct \hyperlink{structcpe__language}{cpe\_\-language} $\ast$language) \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__language}{cpe\_\-language} $\ast$ \hyperlink{group__cpedict_ga30951152252cec0f9fa5965a75d65e02}{cpe\_\-language\_\-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_gaff98127782dcf2da2817cc0ac13a94ae}{cpe\_\-language\_\-set\_\-value} (struct \hyperlink{structcpe__language}{cpe\_\-language} $\ast$language, const char $\ast$new\_\-value) \end{DoxyCompactItemize} \end{Indent} \subsection*{Data Fields} \begin{DoxyCompactItemize} \item \hypertarget{structcpe__language_a5fbfeb63415735481c1044752cf4175d}{ struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}} \label{structcpe__language_a5fbfeb63415735481c1044752cf4175d} \item \hypertarget{structcpe__language_accaa8022be3f3c2a84c830b39c5b6d7d}{ char $\ast$ {\bfseries value}} \label{structcpe__language_accaa8022be3f3c2a84c830b39c5b6d7d} \end{DoxyCompactItemize} \subsection{Detailed Description} Language of product edition. 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}