Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 3736f276bb1ccfbcee6cb2d27b25d981 > files > 909

openscap-devel-0.5.7-1mdv2010.1.x86_64.rpm

\hypertarget{structxccdf__benchmark}{
\section{xccdf\_\-benchmark Struct Reference}
\label{structxccdf__benchmark}\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}}
}


XCCDF Benchmark.  


{\ttfamily \#include $<$xccdf.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$ \hyperlink{structxccdf__benchmark_a8db852f58c9f703b7709b674846d16aa}{xccdf\_\-benchmark\_\-parse\_\-xml} (const char $\ast$filename)
\begin{DoxyCompactList}\small\item\em Create a new benmchmark from a benchmark XML file. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a7a03386992919d1fa330c4c24b3b62d6}{
const char $\ast$ \hyperlink{structxccdf__benchmark_a7a03386992919d1fa330c4c24b3b62d6}{xccdf\_\-benchmark\_\-get\_\-id} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a7a03386992919d1fa330c4c24b3b62d6}

\begin{DoxyCompactList}\small\item\em Get benchmark ID. \item\end{DoxyCompactList}\item 
bool \hyperlink{structxccdf__benchmark_a27e79892c0a92c03c17197c317069f42}{xccdf\_\-benchmark\_\-get\_\-resolved} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\begin{DoxyCompactList}\small\item\em Check benchmark resolved property. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a3de1224f1e671d0c009b6eb4c163a590}{
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a3de1224f1e671d0c009b6eb4c163a590}{xccdf\_\-benchmark\_\-get\_\-title} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a3de1224f1e671d0c009b6eb4c163a590}

\begin{DoxyCompactList}\small\item\em Get benchmark title. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a0e63135ca08462e79b9f02cf2bcb0eed}{
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a0e63135ca08462e79b9f02cf2bcb0eed}{xccdf\_\-benchmark\_\-get\_\-description} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a0e63135ca08462e79b9f02cf2bcb0eed}

\begin{DoxyCompactList}\small\item\em Get benchmark description. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{structxccdf__benchmark_a96e28a7749986ab0fd91ba64e3dcf5d6}{xccdf\_\-benchmark\_\-get\_\-version} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\begin{DoxyCompactList}\small\item\em Get benchmark version. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a0c87656ac0f39d9aad1ccefd7142f044}{
const char $\ast$ \hyperlink{structxccdf__benchmark_a0c87656ac0f39d9aad1ccefd7142f044}{xccdf\_\-benchmark\_\-get\_\-style} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a0c87656ac0f39d9aad1ccefd7142f044}

\begin{DoxyCompactList}\small\item\em Get benchmark inline stylesheet. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a58f62d987ce5b150468bb9d05f2fba50}{
const char $\ast$ \hyperlink{structxccdf__benchmark_a58f62d987ce5b150468bb9d05f2fba50}{xccdf\_\-benchmark\_\-get\_\-style\_\-href} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a58f62d987ce5b150468bb9d05f2fba50}

\begin{DoxyCompactList}\small\item\em Get benchmark stylesheet URL. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_ab947757c36ac3075002a8a47d9981859}{
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_ab947757c36ac3075002a8a47d9981859}{xccdf\_\-benchmark\_\-get\_\-front\_\-matter} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_ab947757c36ac3075002a8a47d9981859}

\begin{DoxyCompactList}\small\item\em Get benchmark front matter. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a19947299e32d34dba00b18f2f6216a4b}{
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a19947299e32d34dba00b18f2f6216a4b}{xccdf\_\-benchmark\_\-get\_\-rear\_\-matter} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a19947299e32d34dba00b18f2f6216a4b}

\begin{DoxyCompactList}\small\item\em Get benchmark rear matter. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_ae708e1e880427ebdee8066948b97abdf}{
const char $\ast$ \hyperlink{structxccdf__benchmark_ae708e1e880427ebdee8066948b97abdf}{xccdf\_\-benchmark\_\-get\_\-metadata} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_ae708e1e880427ebdee8066948b97abdf}

\begin{DoxyCompactList}\small\item\em Get benchmark metadata. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{structxccdf__benchmark_a21836d072111dddf9992ae8af5596113}{xccdf\_\-benchmark\_\-get\_\-plain\_\-text} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark, const char $\ast$id)
\begin{DoxyCompactList}\small\item\em Get a plain text by ID. \item\end{DoxyCompactList}\item 
struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$ \hyperlink{structxccdf__benchmark_a92afdc66eed4d0c691327da277e9766b}{xccdf\_\-benchmark\_\-get\_\-item} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark, const char $\ast$id)
\begin{DoxyCompactList}\small\item\em Get benchmark item by ID. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a31768dc945fbd317ed67ed851cfdab9c}{
struct \hyperlink{structxccdf__status__iterator}{xccdf\_\-status\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a31768dc945fbd317ed67ed851cfdab9c}{xccdf\_\-benchmark\_\-get\_\-statuses} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a31768dc945fbd317ed67ed851cfdab9c}

\begin{DoxyCompactList}\small\item\em Get an iterator to benchmark statuses. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_ace516f914bdf7f06103cc72d8fc7f0b8}{
struct \hyperlink{structxccdf__reference__iterator}{xccdf\_\-reference\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_ace516f914bdf7f06103cc72d8fc7f0b8}{xccdf\_\-benchmark\_\-get\_\-references} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_ace516f914bdf7f06103cc72d8fc7f0b8}

\begin{DoxyCompactList}\small\item\em Get an iterator to the XCCDF references of the benchmark. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a64be8bb3913e2691341e039af4558f76}{
struct \hyperlink{structoscap__string__iterator}{oscap\_\-string\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a64be8bb3913e2691341e039af4558f76}{xccdf\_\-benchmark\_\-get\_\-platforms} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a64be8bb3913e2691341e039af4558f76}

\begin{DoxyCompactList}\small\item\em Get an iterator to the benchmark platforms. \item\end{DoxyCompactList}\item 
struct \hyperlink{structxccdf__notice__iterator}{xccdf\_\-notice\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a344d2b339d28f8a86cc95c0b437709ea}{xccdf\_\-benchmark\_\-get\_\-notices} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\begin{DoxyCompactList}\small\item\em Get an iterator to the benchmark legal notices. \item\end{DoxyCompactList}\item 
struct \hyperlink{structxccdf__model__iterator}{xccdf\_\-model\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_ad1691a19de813ff391c455b651cd6162}{xccdf\_\-benchmark\_\-get\_\-models} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\begin{DoxyCompactList}\small\item\em Get an iterator to the benchmark scoring models. \item\end{DoxyCompactList}\item 
struct \hyperlink{structxccdf__profile__iterator}{xccdf\_\-profile\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a9e2fce5908a4955f7ab291d7a9b4e3db}{xccdf\_\-benchmark\_\-get\_\-profiles} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\begin{DoxyCompactList}\small\item\em Get an iterator to the benchmark XCCDF profiles. \item\end{DoxyCompactList}\item 
struct \hyperlink{structxccdf__item__iterator}{xccdf\_\-item\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a986e534558ef85b903abbbea65bcd0dd}{xccdf\_\-benchmark\_\-get\_\-content} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\begin{DoxyCompactList}\small\item\em Get an iterator to the bencmark content. \item\end{DoxyCompactList}\item 
\hypertarget{structxccdf__benchmark_a6263364d412ecd8c8cbb5b5029f51e0e}{
\hyperlink{group__XCCDF_gac0d5c1c85828e13ebb13935551f8da38}{xccdf\_\-status\_\-type\_\-t} \hyperlink{structxccdf__benchmark_a6263364d412ecd8c8cbb5b5029f51e0e}{xccdf\_\-benchmark\_\-get\_\-status\_\-current} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)}
\label{structxccdf__benchmark_a6263364d412ecd8c8cbb5b5029f51e0e}

\begin{DoxyCompactList}\small\item\em Get benchmark current status. \item\end{DoxyCompactList}\item 
void \hyperlink{structxccdf__benchmark_a35e666e154a6a2f915dfe433c14fd74f}{xccdf\_\-benchmark\_\-free} (struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\begin{DoxyCompactList}\small\item\em Delete the benchmark. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{structxccdf__benchmark_a68b6b580c44dbe362fb7458449480a9c}{xccdf\_\-benchmark\_\-supported} (void)
\begin{DoxyCompactList}\small\item\em Get supported version of XCCDF XML. \item\end{DoxyCompactList}\item 
bool \hyperlink{structxccdf__benchmark_a794272c6bb60336e3070e3270f9d496f}{xccdf\_\-benchmark\_\-get\_\-hidden} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
bool \hyperlink{structxccdf__benchmark_a690f22a16c155b0b2de93b2e25df0e32}{xccdf\_\-benchmark\_\-get\_\-selected} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
bool \hyperlink{structxccdf__benchmark_a7e526fa597350bdb8f00e1f6d488cb81}{xccdf\_\-benchmark\_\-get\_\-multiple} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
bool \hyperlink{structxccdf__benchmark_a4abc3c3b2f191d26cd4e8cceee709b56}{xccdf\_\-benchmark\_\-get\_\-prohibit\_\-changes} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
bool \hyperlink{structxccdf__benchmark_a3183ede3b23beffb1b8eb97c49f41389}{xccdf\_\-benchmark\_\-get\_\-abstract} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
bool \hyperlink{structxccdf__benchmark_a11a0e733ccac30d46f856021d277271f}{xccdf\_\-benchmark\_\-get\_\-interactive} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_a4b9eec26165bc9115781fad4d14a44b2}{xccdf\_\-benchmark\_\-get\_\-question} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
struct \hyperlink{structxccdf__warning__iterator}{xccdf\_\-warning\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_ab54263d75d2620a8a0fbe275dcd511ca}{xccdf\_\-benchmark\_\-get\_\-warnings} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{structxccdf__benchmark_aebbeec794ef545cb03b63efadb1bdf93}{xccdf\_\-benchmark\_\-get\_\-rationale} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
const char $\ast$ \hyperlink{structxccdf__benchmark_acec33bda8fd7585a42755ca38b411af2}{xccdf\_\-benchmark\_\-get\_\-cluster\_\-id} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
const char $\ast$ \hyperlink{structxccdf__benchmark_ae8ee0fd48ed6bab61123270271b67058}{xccdf\_\-benchmark\_\-get\_\-version\_\-update} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
time\_\-t \hyperlink{structxccdf__benchmark_a2e8886ed0a593a6b26dc39a10ada4daf}{xccdf\_\-benchmark\_\-get\_\-version\_\-time} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
float \hyperlink{structxccdf__benchmark_abec4f9d0f342b7633cfe3b85bb0dc848}{xccdf\_\-benchmark\_\-get\_\-weight} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$ \hyperlink{structxccdf__benchmark_a7b90a2684548a3e81637aa5783ea3031}{xccdf\_\-benchmark\_\-get\_\-benchmark} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$ \hyperlink{structxccdf__benchmark_a0501b61b49bbeb4cbd760628d63c5451}{xccdf\_\-benchmark\_\-get\_\-parent} (const struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$benchmark)
\item 
struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$ \hyperlink{structxccdf__benchmark_a66e458663079d1ede323a864c9cf0f1b}{xccdf\_\-benchmark\_\-create} (const char $\ast$id)
\begin{DoxyCompactList}\small\item\em Create a new benchmark from a benchmark XML file. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
XCCDF Benchmark. 

\subsection{Member Function Documentation}
\hypertarget{structxccdf__benchmark_a66e458663079d1ede323a864c9cf0f1b}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-create@{xccdf\_\-benchmark\_\-create}}
\index{xccdf\_\-benchmark\_\-create@{xccdf\_\-benchmark\_\-create}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-create}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-benchmark} $\ast$ xccdf\_\-benchmark\_\-create (const char $\ast$ {\em id})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a66e458663079d1ede323a864c9cf0f1b}


Create a new benchmark from a benchmark XML file. 
\begin{DoxyParams}{Parameters}
\item[{\em id}]the benchmark identifier. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new benchmark. 
\end{DoxyReturn}
\hypertarget{structxccdf__benchmark_a35e666e154a6a2f915dfe433c14fd74f}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-free@{xccdf\_\-benchmark\_\-free}}
\index{xccdf\_\-benchmark\_\-free@{xccdf\_\-benchmark\_\-free}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void xccdf\_\-benchmark\_\-free (struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a35e666e154a6a2f915dfe433c14fd74f}


Delete the benchmark. 
\begin{DoxyParams}{Parameters}
\item[{\em benchmark}]Benchmark to be deleted. \end{DoxyParams}
\hypertarget{structxccdf__benchmark_a3183ede3b23beffb1b8eb97c49f41389}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-abstract@{xccdf\_\-benchmark\_\-get\_\-abstract}}
\index{xccdf\_\-benchmark\_\-get\_\-abstract@{xccdf\_\-benchmark\_\-get\_\-abstract}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-abstract}]{\setlength{\rightskip}{0pt plus 5cm}bool xccdf\_\-benchmark\_\-get\_\-abstract (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a3183ede3b23beffb1b8eb97c49f41389}
\hypertarget{structxccdf__benchmark_a7b90a2684548a3e81637aa5783ea3031}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-benchmark@{xccdf\_\-benchmark\_\-get\_\-benchmark}}
\index{xccdf\_\-benchmark\_\-get\_\-benchmark@{xccdf\_\-benchmark\_\-get\_\-benchmark}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-benchmark}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-benchmark} $\ast$ xccdf\_\-benchmark\_\-get\_\-benchmark (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a7b90a2684548a3e81637aa5783ea3031}
\hypertarget{structxccdf__benchmark_acec33bda8fd7585a42755ca38b411af2}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-cluster\_\-id@{xccdf\_\-benchmark\_\-get\_\-cluster\_\-id}}
\index{xccdf\_\-benchmark\_\-get\_\-cluster\_\-id@{xccdf\_\-benchmark\_\-get\_\-cluster\_\-id}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-cluster\_\-id}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-benchmark\_\-get\_\-cluster\_\-id (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_acec33bda8fd7585a42755ca38b411af2}
\hypertarget{structxccdf__benchmark_a986e534558ef85b903abbbea65bcd0dd}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-content@{xccdf\_\-benchmark\_\-get\_\-content}}
\index{xccdf\_\-benchmark\_\-get\_\-content@{xccdf\_\-benchmark\_\-get\_\-content}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-content}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-item\_\-iterator} $\ast$ xccdf\_\-benchmark\_\-get\_\-content (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a986e534558ef85b903abbbea65bcd0dd}


Get an iterator to the bencmark content. The items are either groups or rules.

\begin{DoxySeeAlso}{See also}
\hyperlink{structxccdf__rule}{xccdf\_\-rule} 

\hyperlink{structxccdf__group}{xccdf\_\-group} 

\hyperlink{structxccdf__item}{xccdf\_\-item} 
\end{DoxySeeAlso}
\hypertarget{structxccdf__benchmark_a794272c6bb60336e3070e3270f9d496f}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-hidden@{xccdf\_\-benchmark\_\-get\_\-hidden}}
\index{xccdf\_\-benchmark\_\-get\_\-hidden@{xccdf\_\-benchmark\_\-get\_\-hidden}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-hidden}]{\setlength{\rightskip}{0pt plus 5cm}bool xccdf\_\-benchmark\_\-get\_\-hidden (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a794272c6bb60336e3070e3270f9d496f}
\hypertarget{structxccdf__benchmark_a11a0e733ccac30d46f856021d277271f}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-interactive@{xccdf\_\-benchmark\_\-get\_\-interactive}}
\index{xccdf\_\-benchmark\_\-get\_\-interactive@{xccdf\_\-benchmark\_\-get\_\-interactive}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-interactive}]{\setlength{\rightskip}{0pt plus 5cm}bool xccdf\_\-benchmark\_\-get\_\-interactive (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a11a0e733ccac30d46f856021d277271f}
\hypertarget{structxccdf__benchmark_a92afdc66eed4d0c691327da277e9766b}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-item@{xccdf\_\-benchmark\_\-get\_\-item}}
\index{xccdf\_\-benchmark\_\-get\_\-item@{xccdf\_\-benchmark\_\-get\_\-item}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-item}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-item} $\ast$ xccdf\_\-benchmark\_\-get\_\-item (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark}, \/  const char $\ast$ {\em id})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a92afdc66eed4d0c691327da277e9766b}


Get benchmark item by ID. 
\begin{DoxyParams}{Parameters}
\item[{\em item}]ID \end{DoxyParams}
\begin{DoxyReturn}{Returns}
Item with given ID 
\end{DoxyReturn}

\begin{DoxyRetVals}{Return values}
\item[{\em NULL}]if no such item exists \end{DoxyRetVals}
\hypertarget{structxccdf__benchmark_ad1691a19de813ff391c455b651cd6162}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-models@{xccdf\_\-benchmark\_\-get\_\-models}}
\index{xccdf\_\-benchmark\_\-get\_\-models@{xccdf\_\-benchmark\_\-get\_\-models}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-models}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-model\_\-iterator} $\ast$ xccdf\_\-benchmark\_\-get\_\-models (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_ad1691a19de813ff391c455b651cd6162}


Get an iterator to the benchmark scoring models. \begin{DoxySeeAlso}{See also}
\hyperlink{structxccdf__model}{xccdf\_\-model} 
\end{DoxySeeAlso}
\hypertarget{structxccdf__benchmark_a7e526fa597350bdb8f00e1f6d488cb81}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-multiple@{xccdf\_\-benchmark\_\-get\_\-multiple}}
\index{xccdf\_\-benchmark\_\-get\_\-multiple@{xccdf\_\-benchmark\_\-get\_\-multiple}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-multiple}]{\setlength{\rightskip}{0pt plus 5cm}bool xccdf\_\-benchmark\_\-get\_\-multiple (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a7e526fa597350bdb8f00e1f6d488cb81}
\hypertarget{structxccdf__benchmark_a344d2b339d28f8a86cc95c0b437709ea}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-notices@{xccdf\_\-benchmark\_\-get\_\-notices}}
\index{xccdf\_\-benchmark\_\-get\_\-notices@{xccdf\_\-benchmark\_\-get\_\-notices}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-notices}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-notice\_\-iterator} $\ast$ xccdf\_\-benchmark\_\-get\_\-notices (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a344d2b339d28f8a86cc95c0b437709ea}


Get an iterator to the benchmark legal notices. \begin{DoxySeeAlso}{See also}
\hyperlink{structxccdf__notice}{xccdf\_\-notice} 
\end{DoxySeeAlso}
\hypertarget{structxccdf__benchmark_a0501b61b49bbeb4cbd760628d63c5451}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-parent@{xccdf\_\-benchmark\_\-get\_\-parent}}
\index{xccdf\_\-benchmark\_\-get\_\-parent@{xccdf\_\-benchmark\_\-get\_\-parent}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-parent}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-item} $\ast$ xccdf\_\-benchmark\_\-get\_\-parent (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a0501b61b49bbeb4cbd760628d63c5451}
\hypertarget{structxccdf__benchmark_a21836d072111dddf9992ae8af5596113}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-plain\_\-text@{xccdf\_\-benchmark\_\-get\_\-plain\_\-text}}
\index{xccdf\_\-benchmark\_\-get\_\-plain\_\-text@{xccdf\_\-benchmark\_\-get\_\-plain\_\-text}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-plain\_\-text}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-benchmark\_\-get\_\-plain\_\-text (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark}, \/  const char $\ast$ {\em id})}}
\label{structxccdf__benchmark_a21836d072111dddf9992ae8af5596113}


Get a plain text by ID. 
\begin{DoxyParams}{Parameters}
\item[{\em id}]ID of the plain text to get. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
Plain text content. 
\end{DoxyReturn}

\begin{DoxyRetVals}{Return values}
\item[{\em NULL}]if given plain text does not exist \end{DoxyRetVals}
\hypertarget{structxccdf__benchmark_a9e2fce5908a4955f7ab291d7a9b4e3db}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-profiles@{xccdf\_\-benchmark\_\-get\_\-profiles}}
\index{xccdf\_\-benchmark\_\-get\_\-profiles@{xccdf\_\-benchmark\_\-get\_\-profiles}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-profiles}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-profile\_\-iterator} $\ast$ xccdf\_\-benchmark\_\-get\_\-profiles (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a9e2fce5908a4955f7ab291d7a9b4e3db}


Get an iterator to the benchmark XCCDF profiles. \begin{DoxySeeAlso}{See also}
\hyperlink{structxccdf__profile}{xccdf\_\-profile} 
\end{DoxySeeAlso}
\hypertarget{structxccdf__benchmark_a4abc3c3b2f191d26cd4e8cceee709b56}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-prohibit\_\-changes@{xccdf\_\-benchmark\_\-get\_\-prohibit\_\-changes}}
\index{xccdf\_\-benchmark\_\-get\_\-prohibit\_\-changes@{xccdf\_\-benchmark\_\-get\_\-prohibit\_\-changes}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-prohibit\_\-changes}]{\setlength{\rightskip}{0pt plus 5cm}bool xccdf\_\-benchmark\_\-get\_\-prohibit\_\-changes (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a4abc3c3b2f191d26cd4e8cceee709b56}
\hypertarget{structxccdf__benchmark_a4b9eec26165bc9115781fad4d14a44b2}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-question@{xccdf\_\-benchmark\_\-get\_\-question}}
\index{xccdf\_\-benchmark\_\-get\_\-question@{xccdf\_\-benchmark\_\-get\_\-question}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-question}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf oscap\_\-text\_\-iterator} $\ast$ xccdf\_\-benchmark\_\-get\_\-question (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a4b9eec26165bc9115781fad4d14a44b2}
\hypertarget{structxccdf__benchmark_aebbeec794ef545cb03b63efadb1bdf93}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-rationale@{xccdf\_\-benchmark\_\-get\_\-rationale}}
\index{xccdf\_\-benchmark\_\-get\_\-rationale@{xccdf\_\-benchmark\_\-get\_\-rationale}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-rationale}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf oscap\_\-text\_\-iterator} $\ast$ xccdf\_\-benchmark\_\-get\_\-rationale (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_aebbeec794ef545cb03b63efadb1bdf93}
\hypertarget{structxccdf__benchmark_a27e79892c0a92c03c17197c317069f42}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-resolved@{xccdf\_\-benchmark\_\-get\_\-resolved}}
\index{xccdf\_\-benchmark\_\-get\_\-resolved@{xccdf\_\-benchmark\_\-get\_\-resolved}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-resolved}]{\setlength{\rightskip}{0pt plus 5cm}bool xccdf\_\-benchmark\_\-get\_\-resolved (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a27e79892c0a92c03c17197c317069f42}


Check benchmark resolved property. \hypertarget{structxccdf__benchmark_a690f22a16c155b0b2de93b2e25df0e32}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-selected@{xccdf\_\-benchmark\_\-get\_\-selected}}
\index{xccdf\_\-benchmark\_\-get\_\-selected@{xccdf\_\-benchmark\_\-get\_\-selected}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-selected}]{\setlength{\rightskip}{0pt plus 5cm}bool xccdf\_\-benchmark\_\-get\_\-selected (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a690f22a16c155b0b2de93b2e25df0e32}
\hypertarget{structxccdf__benchmark_a96e28a7749986ab0fd91ba64e3dcf5d6}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-version@{xccdf\_\-benchmark\_\-get\_\-version}}
\index{xccdf\_\-benchmark\_\-get\_\-version@{xccdf\_\-benchmark\_\-get\_\-version}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-version}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-benchmark\_\-get\_\-version (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a96e28a7749986ab0fd91ba64e3dcf5d6}


Get benchmark version. \hypertarget{structxccdf__benchmark_a2e8886ed0a593a6b26dc39a10ada4daf}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-version\_\-time@{xccdf\_\-benchmark\_\-get\_\-version\_\-time}}
\index{xccdf\_\-benchmark\_\-get\_\-version\_\-time@{xccdf\_\-benchmark\_\-get\_\-version\_\-time}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-version\_\-time}]{\setlength{\rightskip}{0pt plus 5cm}time\_\-t xccdf\_\-benchmark\_\-get\_\-version\_\-time (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_a2e8886ed0a593a6b26dc39a10ada4daf}
\hypertarget{structxccdf__benchmark_ae8ee0fd48ed6bab61123270271b67058}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-version\_\-update@{xccdf\_\-benchmark\_\-get\_\-version\_\-update}}
\index{xccdf\_\-benchmark\_\-get\_\-version\_\-update@{xccdf\_\-benchmark\_\-get\_\-version\_\-update}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-version\_\-update}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-benchmark\_\-get\_\-version\_\-update (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_ae8ee0fd48ed6bab61123270271b67058}
\hypertarget{structxccdf__benchmark_ab54263d75d2620a8a0fbe275dcd511ca}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-warnings@{xccdf\_\-benchmark\_\-get\_\-warnings}}
\index{xccdf\_\-benchmark\_\-get\_\-warnings@{xccdf\_\-benchmark\_\-get\_\-warnings}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-warnings}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-warning\_\-iterator} $\ast$ xccdf\_\-benchmark\_\-get\_\-warnings (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_ab54263d75d2620a8a0fbe275dcd511ca}
\hypertarget{structxccdf__benchmark_abec4f9d0f342b7633cfe3b85bb0dc848}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-get\_\-weight@{xccdf\_\-benchmark\_\-get\_\-weight}}
\index{xccdf\_\-benchmark\_\-get\_\-weight@{xccdf\_\-benchmark\_\-get\_\-weight}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-get\_\-weight}]{\setlength{\rightskip}{0pt plus 5cm}float xccdf\_\-benchmark\_\-get\_\-weight (const struct {\bf xccdf\_\-benchmark} $\ast$ {\em benchmark})}}
\label{structxccdf__benchmark_abec4f9d0f342b7633cfe3b85bb0dc848}
\hypertarget{structxccdf__benchmark_a8db852f58c9f703b7709b674846d16aa}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-parse\_\-xml@{xccdf\_\-benchmark\_\-parse\_\-xml}}
\index{xccdf\_\-benchmark\_\-parse\_\-xml@{xccdf\_\-benchmark\_\-parse\_\-xml}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-parse\_\-xml}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf xccdf\_\-benchmark} $\ast$ xccdf\_\-benchmark\_\-parse\_\-xml (const char $\ast$ {\em filename})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{structxccdf__benchmark_a8db852f58c9f703b7709b674846d16aa}


Create a new benmchmark from a benchmark XML file. 
\begin{DoxyParams}{Parameters}
\item[{\em filename}]Name of the file to load the contents from. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new benchmark. 
\end{DoxyReturn}

\begin{DoxyRetVals}{Return values}
\item[{\em NULL}]on failure \end{DoxyRetVals}
\hypertarget{structxccdf__benchmark_a68b6b580c44dbe362fb7458449480a9c}{
\index{xccdf\_\-benchmark@{xccdf\_\-benchmark}!xccdf\_\-benchmark\_\-supported@{xccdf\_\-benchmark\_\-supported}}
\index{xccdf\_\-benchmark\_\-supported@{xccdf\_\-benchmark\_\-supported}!xccdf_benchmark@{xccdf\_\-benchmark}}
\subsubsection[{xccdf\_\-benchmark\_\-supported}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ xccdf\_\-benchmark\_\-supported (void)}}
\label{structxccdf__benchmark_a68b6b580c44dbe362fb7458449480a9c}


Get supported version of XCCDF XML. \begin{DoxyReturn}{Returns}
version of XML file format 
\end{DoxyReturn}


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