\hypertarget{structxccdf__item}{ \section{xccdf\_\-item Struct Reference} \label{structxccdf__item}\index{xccdf\_\-item@{xccdf\_\-item}} } A base class for XCCDF items. {\ttfamily \#include $<$xccdf.h$>$}\subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hypertarget{structxccdf__item_ab2d57ffd6182ad37fc524752a176ee8f}{ \hyperlink{group__XCCDF_ga1c722a7917110bdb164e21e75ed6cfa6}{xccdf\_\-type\_\-t} \hyperlink{structxccdf__item_ab2d57ffd6182ad37fc524752a176ee8f}{xccdf\_\-item\_\-get\_\-type} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item)} \label{structxccdf__item_ab2d57ffd6182ad37fc524752a176ee8f} \begin{DoxyCompactList}\small\item\em Get item type. \item\end{DoxyCompactList}\item const char $\ast$ \hyperlink{structxccdf__item_ab76134e1c1edbd16446c8386b188c5bc}{xccdf\_\-item\_\-get\_\-id} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Get item ID. \item\end{DoxyCompactList}\item \hypertarget{structxccdf__item_a5379376888d769ea81bcb25ab920da1c}{ struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__item_a5379376888d769ea81bcb25ab920da1c}{xccdf\_\-item\_\-get\_\-title} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item)} \label{structxccdf__item_a5379376888d769ea81bcb25ab920da1c} \begin{DoxyCompactList}\small\item\em Get item title. \item\end{DoxyCompactList}\item \hypertarget{structxccdf__item_a585471c8209d6f27fdd43323f65b97de}{ struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__item_a585471c8209d6f27fdd43323f65b97de}{xccdf\_\-item\_\-get\_\-description} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item)} \label{structxccdf__item_a585471c8209d6f27fdd43323f65b97de} \begin{DoxyCompactList}\small\item\em Get item description. \item\end{DoxyCompactList}\item const char $\ast$ \hyperlink{structxccdf__item_a703a5852f4dbd5b2cf9b11e6a49fcfce}{xccdf\_\-item\_\-get\_\-version} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Get item version. \item\end{DoxyCompactList}\item \hypertarget{structxccdf__item_a6d903bb9a7c11f40e427f2ff836b65fc}{ struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$ \hyperlink{structxccdf__item_a6d903bb9a7c11f40e427f2ff836b65fc}{xccdf\_\-item\_\-get\_\-extends} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item)} \label{structxccdf__item_a6d903bb9a7c11f40e427f2ff836b65fc} \begin{DoxyCompactList}\small\item\em Return item's parent in the inheritance hierarchy. \item\end{DoxyCompactList}\item struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$ \hyperlink{structxccdf__item_a1aa026748670bdb35f9493309af377d4}{xccdf\_\-item\_\-get\_\-parent} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Return item's parent in the grouping hierarchy. \item\end{DoxyCompactList}\item \hypertarget{structxccdf__item_a34a1abdde6b2b3f5503fad795d9a3217}{ struct \hyperlink{structxccdf__status__iterator}{xccdf\_\-status\_\-iterator} $\ast$ \hyperlink{structxccdf__item_a34a1abdde6b2b3f5503fad795d9a3217}{xccdf\_\-item\_\-get\_\-statuses} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item)} \label{structxccdf__item_a34a1abdde6b2b3f5503fad795d9a3217} \begin{DoxyCompactList}\small\item\em Get an iterator to item statuses. \item\end{DoxyCompactList}\item \hypertarget{structxccdf__item_af0dd88cec247866a006b1f1302250f90}{ struct \hyperlink{structxccdf__reference__iterator}{xccdf\_\-reference\_\-iterator} $\ast$ \hyperlink{structxccdf__item_af0dd88cec247866a006b1f1302250f90}{xccdf\_\-item\_\-get\_\-references} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item)} \label{structxccdf__item_af0dd88cec247866a006b1f1302250f90} \begin{DoxyCompactList}\small\item\em Get an iterator to the XCCDF references of the item. \item\end{DoxyCompactList}\item \hypertarget{structxccdf__item_a26be4e78986cc02e5a4906f3cc4b3956}{ \hyperlink{group__XCCDF_gac0d5c1c85828e13ebb13935551f8da38}{xccdf\_\-status\_\-type\_\-t} \hyperlink{structxccdf__item_a26be4e78986cc02e5a4906f3cc4b3956}{xccdf\_\-item\_\-get\_\-current\_\-status} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item)} \label{structxccdf__item_a26be4e78986cc02e5a4906f3cc4b3956} \begin{DoxyCompactList}\small\item\em Get item current status. \item\end{DoxyCompactList}\item struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$ \hyperlink{structxccdf__item_abb8cd5cb505ba695bfd7acff400b5bc2}{xccdf\_\-item\_\-to\_\-benchmark} (struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Convert the item to a benchmark. \item\end{DoxyCompactList}\item struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$ \hyperlink{structxccdf__item_aaf6d05d4ec9f3b06aae0fba81a6db3f5}{xccdf\_\-item\_\-to\_\-profile} (struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Convert the item to a profile. \item\end{DoxyCompactList}\item struct \hyperlink{structxccdf__rule}{xccdf\_\-rule} $\ast$ \hyperlink{structxccdf__item_a678afb2bfa7aaf0d70550786d9fac2f0}{xccdf\_\-item\_\-to\_\-rule} (struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Convert the item to a rule. \item\end{DoxyCompactList}\item struct \hyperlink{structxccdf__group}{xccdf\_\-group} $\ast$ \hyperlink{structxccdf__item_a1081781c7d2f1c143837a6830e301df1}{xccdf\_\-item\_\-to\_\-group} (struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Convert the item to a group. \item\end{DoxyCompactList}\item struct \hyperlink{structxccdf__value}{xccdf\_\-value} $\ast$ \hyperlink{structxccdf__item_a0112c34d94dfcb6a51bc3cfd71de02f3}{xccdf\_\-item\_\-to\_\-value} (struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Convert the item to a value. \item\end{DoxyCompactList}\item struct \hyperlink{structxccdf__result}{xccdf\_\-result} $\ast$ \hyperlink{structxccdf__item_a08d6dc4cf86680c9efced168687348e6}{xccdf\_\-item\_\-to\_\-result} (struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \begin{DoxyCompactList}\small\item\em Convert the item to a test result. \item\end{DoxyCompactList}\item struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__item_ab4af0809bd3555164c610dd11ccd8063}{xccdf\_\-item\_\-get\_\-question} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \item struct \hyperlink{structxccdf__warning__iterator}{xccdf\_\-warning\_\-iterator} $\ast$ \hyperlink{structxccdf__item_a934d5afc284cd8a95c67592aa135c001}{xccdf\_\-item\_\-get\_\-warnings} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \item struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__item_a44e972c1e902a83186f4f66fc82f2ca8}{xccdf\_\-item\_\-get\_\-rationale} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \item const char $\ast$ \hyperlink{structxccdf__item_a7158bf7eaf418efd9bb1702771a78cb9}{xccdf\_\-item\_\-get\_\-cluster\_\-id} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \item const char $\ast$ \hyperlink{structxccdf__item_add1a40adb7c180b660c49169cb3d987e}{xccdf\_\-item\_\-get\_\-version\_\-update} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \item time\_\-t \hyperlink{structxccdf__item_a7c948fdd6de2a476d8e603862e7292ea}{xccdf\_\-item\_\-get\_\-version\_\-time} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \item float \hyperlink{structxccdf__item_ad26e4ec4aae2f1e6ce825df029db0316}{xccdf\_\-item\_\-get\_\-weight} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \item struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$ \hyperlink{structxccdf__item_aff197e1d8facaa788f37529dfada7526}{xccdf\_\-item\_\-get\_\-benchmark} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \item struct \hyperlink{structoscap__string__iterator}{oscap\_\-string\_\-iterator} $\ast$ \hyperlink{structxccdf__item_a31b10a1ee35af89d6df383ec3df19e4c}{xccdf\_\-item\_\-get\_\-platforms} (const struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$item) \end{DoxyCompactItemize} \subsection*{Data Fields} \begin{DoxyCompactItemize} \item \hypertarget{structxccdf__item_a6e2f2f1d0f2daffc827355ff6e954744}{ \hyperlink{group__XCCDF_ga1c722a7917110bdb164e21e75ed6cfa6}{xccdf\_\-type\_\-t} {\bfseries type}} \label{structxccdf__item_a6e2f2f1d0f2daffc827355ff6e954744} \item \hypertarget{structxccdf__item_a7c410fdf6b784fac893292ba316d252d}{ struct \hyperlink{structxccdf__item__base}{xccdf\_\-item\_\-base} {\bfseries item}} \label{structxccdf__item_a7c410fdf6b784fac893292ba316d252d} \item \hypertarget{structxccdf__item_a5ec8527f99103046924c71289c372774}{ \begin{tabbing} xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill union \{\\ \>struct \hyperlink{structxccdf__profile__item}{xccdf\_profile\_item} {\bfseries profile}\\ \>struct \hyperlink{structxccdf__benchmark__item}{xccdf\_benchmark\_item} {\bfseries bench}\\ \>struct \hyperlink{structxccdf__rule__item}{xccdf\_rule\_item} {\bfseries rule}\\ \>struct \hyperlink{structxccdf__group__item}{xccdf\_group\_item} {\bfseries group}\\ \>struct \hyperlink{structxccdf__value__item}{xccdf\_value\_item} {\bfseries value}\\ \>struct \hyperlink{structxccdf__result__item}{xccdf\_result\_item} {\bfseries result}\\ \} {\bfseries sub}} \label{structxccdf__item_a5ec8527f99103046924c71289c372774} \\ \end{tabbing}\end{DoxyCompactItemize} \subsection{Detailed Description} A base class for XCCDF items. \subsection{Member Function Documentation} \hypertarget{structxccdf__item_aff197e1d8facaa788f37529dfada7526}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-benchmark@{xccdf\_\-item\_\-get\_\-benchmark}} \index{xccdf\_\-item\_\-get\_\-benchmark@{xccdf\_\-item\_\-get\_\-benchmark}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-benchmark}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-benchmark} $\ast$ xccdf\_\-item\_\-get\_\-benchmark (const struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_aff197e1d8facaa788f37529dfada7526} \hypertarget{structxccdf__item_a7158bf7eaf418efd9bb1702771a78cb9}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-cluster\_\-id@{xccdf\_\-item\_\-get\_\-cluster\_\-id}} \index{xccdf\_\-item\_\-get\_\-cluster\_\-id@{xccdf\_\-item\_\-get\_\-cluster\_\-id}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-cluster\_\-id}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-item\_\-get\_\-cluster\_\-id (const struct {\bf xccdf\_\-item} $\ast$ {\em item})}} \label{structxccdf__item_a7158bf7eaf418efd9bb1702771a78cb9} \hypertarget{structxccdf__item_ab76134e1c1edbd16446c8386b188c5bc}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-id@{xccdf\_\-item\_\-get\_\-id}} \index{xccdf\_\-item\_\-get\_\-id@{xccdf\_\-item\_\-get\_\-id}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-id}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-item\_\-get\_\-id (const struct {\bf xccdf\_\-item} $\ast$ {\em item})}} \label{structxccdf__item_ab76134e1c1edbd16446c8386b188c5bc} Get item ID. \hypertarget{structxccdf__item_a1aa026748670bdb35f9493309af377d4}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-parent@{xccdf\_\-item\_\-get\_\-parent}} \index{xccdf\_\-item\_\-get\_\-parent@{xccdf\_\-item\_\-get\_\-parent}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-parent}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-item} $\ast$ xccdf\_\-item\_\-get\_\-parent (const struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_a1aa026748670bdb35f9493309af377d4} Return item's parent in the grouping hierarchy. Returned item will be either a group or a benchmark. \hypertarget{structxccdf__item_a31b10a1ee35af89d6df383ec3df19e4c}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-platforms@{xccdf\_\-item\_\-get\_\-platforms}} \index{xccdf\_\-item\_\-get\_\-platforms@{xccdf\_\-item\_\-get\_\-platforms}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-platforms}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf oscap\_\-string\_\-iterator} $\ast$ xccdf\_\-item\_\-get\_\-platforms (const struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_a31b10a1ee35af89d6df383ec3df19e4c} \hypertarget{structxccdf__item_ab4af0809bd3555164c610dd11ccd8063}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-question@{xccdf\_\-item\_\-get\_\-question}} \index{xccdf\_\-item\_\-get\_\-question@{xccdf\_\-item\_\-get\_\-question}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-question}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf oscap\_\-text\_\-iterator} $\ast$ xccdf\_\-item\_\-get\_\-question (const struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_ab4af0809bd3555164c610dd11ccd8063} \hypertarget{structxccdf__item_a44e972c1e902a83186f4f66fc82f2ca8}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-rationale@{xccdf\_\-item\_\-get\_\-rationale}} \index{xccdf\_\-item\_\-get\_\-rationale@{xccdf\_\-item\_\-get\_\-rationale}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-rationale}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf oscap\_\-text\_\-iterator} $\ast$ xccdf\_\-item\_\-get\_\-rationale (const struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_a44e972c1e902a83186f4f66fc82f2ca8} \hypertarget{structxccdf__item_a703a5852f4dbd5b2cf9b11e6a49fcfce}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-version@{xccdf\_\-item\_\-get\_\-version}} \index{xccdf\_\-item\_\-get\_\-version@{xccdf\_\-item\_\-get\_\-version}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-version}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-item\_\-get\_\-version (const struct {\bf xccdf\_\-item} $\ast$ {\em item})}} \label{structxccdf__item_a703a5852f4dbd5b2cf9b11e6a49fcfce} Get item version. \hypertarget{structxccdf__item_a7c948fdd6de2a476d8e603862e7292ea}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-version\_\-time@{xccdf\_\-item\_\-get\_\-version\_\-time}} \index{xccdf\_\-item\_\-get\_\-version\_\-time@{xccdf\_\-item\_\-get\_\-version\_\-time}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-version\_\-time}]{\setlength{\rightskip}{0pt plus 5cm}time\_\-t xccdf\_\-item\_\-get\_\-version\_\-time (const struct {\bf xccdf\_\-item} $\ast$ {\em item})}} \label{structxccdf__item_a7c948fdd6de2a476d8e603862e7292ea} \hypertarget{structxccdf__item_add1a40adb7c180b660c49169cb3d987e}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-version\_\-update@{xccdf\_\-item\_\-get\_\-version\_\-update}} \index{xccdf\_\-item\_\-get\_\-version\_\-update@{xccdf\_\-item\_\-get\_\-version\_\-update}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-version\_\-update}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-item\_\-get\_\-version\_\-update (const struct {\bf xccdf\_\-item} $\ast$ {\em item})}} \label{structxccdf__item_add1a40adb7c180b660c49169cb3d987e} \hypertarget{structxccdf__item_a934d5afc284cd8a95c67592aa135c001}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-warnings@{xccdf\_\-item\_\-get\_\-warnings}} \index{xccdf\_\-item\_\-get\_\-warnings@{xccdf\_\-item\_\-get\_\-warnings}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-warnings}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-warning\_\-iterator} $\ast$ xccdf\_\-item\_\-get\_\-warnings (const struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_a934d5afc284cd8a95c67592aa135c001} \hypertarget{structxccdf__item_ad26e4ec4aae2f1e6ce825df029db0316}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-get\_\-weight@{xccdf\_\-item\_\-get\_\-weight}} \index{xccdf\_\-item\_\-get\_\-weight@{xccdf\_\-item\_\-get\_\-weight}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-get\_\-weight}]{\setlength{\rightskip}{0pt plus 5cm}float xccdf\_\-item\_\-get\_\-weight (const struct {\bf xccdf\_\-item} $\ast$ {\em item})}} \label{structxccdf__item_ad26e4ec4aae2f1e6ce825df029db0316} \hypertarget{structxccdf__item_abb8cd5cb505ba695bfd7acff400b5bc2}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-to\_\-benchmark@{xccdf\_\-item\_\-to\_\-benchmark}} \index{xccdf\_\-item\_\-to\_\-benchmark@{xccdf\_\-item\_\-to\_\-benchmark}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-to\_\-benchmark}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-benchmark} $\ast$ xccdf\_\-item\_\-to\_\-benchmark (struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_abb8cd5cb505ba695bfd7acff400b5bc2} Convert the item to a benchmark. \begin{DoxyReturn}{Returns} Pointer to this item as the benchmark. \end{DoxyReturn} \begin{DoxyRetVals}{Return values} \item[{\em NULL}]on faliure (e.g. item is not a benchmark) \end{DoxyRetVals} \hypertarget{structxccdf__item_a1081781c7d2f1c143837a6830e301df1}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-to\_\-group@{xccdf\_\-item\_\-to\_\-group}} \index{xccdf\_\-item\_\-to\_\-group@{xccdf\_\-item\_\-to\_\-group}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-to\_\-group}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-group} $\ast$ xccdf\_\-item\_\-to\_\-group (struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_a1081781c7d2f1c143837a6830e301df1} Convert the item to a group. \begin{DoxyReturn}{Returns} Pointer to this item as the group. \end{DoxyReturn} \begin{DoxyRetVals}{Return values} \item[{\em NULL}]on faliure (e.g. item is not a group) \end{DoxyRetVals} \hypertarget{structxccdf__item_aaf6d05d4ec9f3b06aae0fba81a6db3f5}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-to\_\-profile@{xccdf\_\-item\_\-to\_\-profile}} \index{xccdf\_\-item\_\-to\_\-profile@{xccdf\_\-item\_\-to\_\-profile}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-to\_\-profile}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-profile} $\ast$ xccdf\_\-item\_\-to\_\-profile (struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_aaf6d05d4ec9f3b06aae0fba81a6db3f5} Convert the item to a profile. \begin{DoxyReturn}{Returns} Pointer to this item as the profile. \end{DoxyReturn} \begin{DoxyRetVals}{Return values} \item[{\em NULL}]on faliure (e.g. item is not a profile) \end{DoxyRetVals} \hypertarget{structxccdf__item_a08d6dc4cf86680c9efced168687348e6}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-to\_\-result@{xccdf\_\-item\_\-to\_\-result}} \index{xccdf\_\-item\_\-to\_\-result@{xccdf\_\-item\_\-to\_\-result}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-to\_\-result}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-result} $\ast$ xccdf\_\-item\_\-to\_\-result (struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_a08d6dc4cf86680c9efced168687348e6} Convert the item to a test result. \begin{DoxyReturn}{Returns} Pointer to this item as the test result. \end{DoxyReturn} \begin{DoxyRetVals}{Return values} \item[{\em NULL}]on faliure (e.g. item is not a test result) \end{DoxyRetVals} \hypertarget{structxccdf__item_a678afb2bfa7aaf0d70550786d9fac2f0}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-to\_\-rule@{xccdf\_\-item\_\-to\_\-rule}} \index{xccdf\_\-item\_\-to\_\-rule@{xccdf\_\-item\_\-to\_\-rule}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-to\_\-rule}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-rule} $\ast$ xccdf\_\-item\_\-to\_\-rule (struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_a678afb2bfa7aaf0d70550786d9fac2f0} Convert the item to a rule. \begin{DoxyReturn}{Returns} Pointer to this item as the rule. \end{DoxyReturn} \begin{DoxyRetVals}{Return values} \item[{\em NULL}]on faliure (e.g. item is not a rule) \end{DoxyRetVals} \hypertarget{structxccdf__item_a0112c34d94dfcb6a51bc3cfd71de02f3}{ \index{xccdf\_\-item@{xccdf\_\-item}!xccdf\_\-item\_\-to\_\-value@{xccdf\_\-item\_\-to\_\-value}} \index{xccdf\_\-item\_\-to\_\-value@{xccdf\_\-item\_\-to\_\-value}!xccdf_item@{xccdf\_\-item}} \subsubsection[{xccdf\_\-item\_\-to\_\-value}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-value} $\ast$ xccdf\_\-item\_\-to\_\-value (struct {\bf xccdf\_\-item} $\ast$ {\em item})\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} \label{structxccdf__item_a0112c34d94dfcb6a51bc3cfd71de02f3} Convert the item to a value. \begin{DoxyReturn}{Returns} Pointer to this item as the value. \end{DoxyReturn} \begin{DoxyRetVals}{Return values} \item[{\em NULL}]on faliure (e.g. item is not a value) \end{DoxyRetVals} The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize} \item /home/pvrabec/openscap/openscap-\/0.5.7/src/XCCDF/item.h\item /home/pvrabec/openscap/openscap-\/0.5.7/src/XCCDF/public/\hyperlink{xccdf_8h}{xccdf.h}\end{DoxyCompactItemize}