\hypertarget{structxccdf__instance}{
\section{xccdf\_\-instance Struct Reference}
\label{structxccdf__instance}\index{xccdf\_\-instance@{xccdf\_\-instance}}
}


XCCDF instance.  


{\ttfamily \#include $<$xccdf.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$ \hyperlink{group__XCCDF_ga0244d60b4283c3d256d6fd2374773232}{xccdf\_\-instance\_\-new} (void)
\item 
struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$ \hyperlink{group__XCCDF_ga0ca00a57142ba0db522e0fed47c0ec3e}{xccdf\_\-instance\_\-clone} (const struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$instance)
\item 
void \hyperlink{group__XCCDF_gac97820db1bf1963186709008ee2a54c5}{xccdf\_\-instance\_\-free} (struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$inst)
\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 
const char $\ast$ \hyperlink{group__XCCDF_ga60f9e4a4e1d2a1d1d648e34b729f0c67}{xccdf\_\-instance\_\-get\_\-context} (const struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$item)
\item 
const char $\ast$ \hyperlink{group__XCCDF_gac606a1c795b2e8df78675c20f7e70ba2}{xccdf\_\-instance\_\-get\_\-parent\_\-context} (const struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$item)
\item 
const char $\ast$ \hyperlink{group__XCCDF_ga6b09c466ad4ff362e637d040254a8156}{xccdf\_\-instance\_\-get\_\-content} (const struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$item)
\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__XCCDF_ga9dd643ad646e768634d98bd8367ffa96}{xccdf\_\-instance\_\-set\_\-context} (struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$obj, const char $\ast$newval)
\item 
bool \hyperlink{group__XCCDF_ga9298f88357b01e3f9f51e5346114af0c}{xccdf\_\-instance\_\-set\_\-parent\_\-context} (struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$obj, const char $\ast$newval)
\item 
bool \hyperlink{group__XCCDF_ga30acda9478576e64859de6c82f577a57}{xccdf\_\-instance\_\-set\_\-content} (struct \hyperlink{structxccdf__instance}{xccdf\_\-instance} $\ast$obj, const char $\ast$newval)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structxccdf__instance_abb5a1875c86563b3a58e77d31dc095e4}{
char $\ast$ {\bfseries context}}
\label{structxccdf__instance_abb5a1875c86563b3a58e77d31dc095e4}

\item 
\hypertarget{structxccdf__instance_a58d4f0fcd5052018ddc88be8cd7addd7}{
char $\ast$ {\bfseries parent\_\-context}}
\label{structxccdf__instance_a58d4f0fcd5052018ddc88be8cd7addd7}

\item 
\hypertarget{structxccdf__instance_aa2360d460cb95cf8519ae24749c45942}{
char $\ast$ {\bfseries content}}
\label{structxccdf__instance_aa2360d460cb95cf8519ae24749c45942}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
XCCDF instance. \begin{DoxySeeAlso}{See also}
\hyperlink{structxccdf__rule__result}{xccdf\_\-rule\_\-result} 
\end{DoxySeeAlso}


The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/XCCDF/item.h\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/XCCDF/public/\hyperlink{xccdf_8h}{xccdf.h}\end{DoxyCompactItemize}
