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
|
\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{DoxyCompactItemize}
\item
void \hyperlink{group__cpedict_ga1f0aaad9bf1b49015c91537e1808bac8}{cpe\_\-language\_\-free} (struct \hyperlink{structcpe__language}{cpe\_\-language} $\ast$language)
\item
struct \hyperlink{structcpe__language}{cpe\_\-language} $\ast$ \hyperlink{group__cpedict_ga30951152252cec0f9fa5965a75d65e02}{cpe\_\-language\_\-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__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 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_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/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}
|