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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
|
\hypertarget{structxccdf__profile}{
\section{xccdf\_\-profile Struct Reference}
\label{structxccdf__profile}\index{xccdf\_\-profile@{xccdf\_\-profile}}
}
XCCDF profile is a set of tests and their settings in a compact package.
{\ttfamily \#include $<$xccdf.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$ \hyperlink{group__XCCDF_ga3c9f09e1008efd652f72a1354dcfd661}{xccdf\_\-profile\_\-new} (void)
\item
void \hyperlink{group__XCCDF_ga4164fb1949fdb13465683d4d5e51895f}{xccdf\_\-profile\_\-free} (struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$prof)
\item
struct \hyperlink{structxccdf__item}{xccdf\_\-item} $\ast$ \hyperlink{group__XCCDF_ga14cf290a88c10affa4767e721a8bbf51}{xccdf\_\-profile\_\-to\_\-item} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item)
\item
struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$ \hyperlink{group__XCCDF_ga1d439f846bb00093fff4a8b75247ac65}{xccdf\_\-profile\_\-clone} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)
\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
\hypertarget{group__XCCDF_gafe489b41546889b7f6ff6aaef2214249}{
const char $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-id} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_gafe489b41546889b7f6ff6aaef2214249}
\item
\hypertarget{group__XCCDF_gab4375aa8d307d42319f11471ab6052ad}{
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-title} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_gab4375aa8d307d42319f11471ab6052ad}
\item
\hypertarget{group__XCCDF_ga8088b9f64fa899936acabcbad3ca7b8d}{
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-description} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_ga8088b9f64fa899936acabcbad3ca7b8d}
\item
\hypertarget{group__XCCDF_gac1467f85f3203cb0a36b2e95768adb9e}{
const char $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-version} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_gac1467f85f3203cb0a36b2e95768adb9e}
\item
\hypertarget{group__XCCDF_ga33acc56f093942d049055f2616f77551}{
const char $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-extends} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_ga33acc56f093942d049055f2616f77551}
\item
\hypertarget{group__XCCDF_ga1fdecc57dbbe5d6525ab09688316ba90}{
struct \hyperlink{structxccdf__benchmark}{xccdf\_\-benchmark} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-benchmark} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_ga1fdecc57dbbe5d6525ab09688316ba90}
\item
\hypertarget{group__XCCDF_gaf7c3ee1d6edc1ffff9e64e7d4cea1ceb}{
bool {\bfseries xccdf\_\-profile\_\-get\_\-abstract} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_gaf7c3ee1d6edc1ffff9e64e7d4cea1ceb}
\item
\hypertarget{group__XCCDF_gaa27780cc7bff47282251c57c4973e9f8}{
bool {\bfseries xccdf\_\-profile\_\-get\_\-prohibit\_\-changes} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_gaa27780cc7bff47282251c57c4973e9f8}
\item
\hypertarget{group__XCCDF_ga811584e28b6537df3e21d79837a9be0f}{
struct \hyperlink{structoscap__string__iterator}{oscap\_\-string\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-platforms} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_ga811584e28b6537df3e21d79837a9be0f}
\item
\hypertarget{group__XCCDF_gac9b8203a90f4d69723b3fd325f7e500b}{
struct \hyperlink{structxccdf__status__iterator}{xccdf\_\-status\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-statuses} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_gac9b8203a90f4d69723b3fd325f7e500b}
\item
\hypertarget{group__XCCDF_ga34d056e809d135cfee37d2b50a60850a}{
struct \hyperlink{structxccdf__reference__iterator}{xccdf\_\-reference\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-references} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_ga34d056e809d135cfee37d2b50a60850a}
\item
\hypertarget{group__XCCDF_ga88402c858977ef4e1e209541eff4f452}{
\hyperlink{group__XCCDF_gac0d5c1c85828e13ebb13935551f8da38}{xccdf\_\-status\_\-type\_\-t} {\bfseries xccdf\_\-profile\_\-get\_\-status\_\-current} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_ga88402c858977ef4e1e209541eff4f452}
\item
\hypertarget{group__XCCDF_ga6fb5b110217067b086248d3661b7cfdc}{
struct \hyperlink{structxccdf__select__iterator}{xccdf\_\-select\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-selects} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_ga6fb5b110217067b086248d3661b7cfdc}
\item
\hypertarget{group__XCCDF_gaaa3bdc8f1099bd8e481d2afdd7ebe7f4}{
struct \hyperlink{structxccdf__setvalue__iterator}{xccdf\_\-setvalue\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-setvalues} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_gaaa3bdc8f1099bd8e481d2afdd7ebe7f4}
\item
\hypertarget{group__XCCDF_gafc512183009fe5a351265d89f4beef63}{
struct \hyperlink{structxccdf__refine__value__iterator}{xccdf\_\-refine\_\-value\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-refine\_\-values} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_gafc512183009fe5a351265d89f4beef63}
\item
\hypertarget{group__XCCDF_ga9226b05f26b39f9136c18c10a0047257}{
struct \hyperlink{structxccdf__refine__rule__iterator}{xccdf\_\-refine\_\-rule\_\-iterator} $\ast$ {\bfseries xccdf\_\-profile\_\-get\_\-refine\_\-rules} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)}
\label{group__XCCDF_ga9226b05f26b39f9136c18c10a0047257}
\item
const char $\ast$ \hyperlink{group__XCCDF_ga362e6d07e5ffc48d370f3d8374f9a2cb}{xccdf\_\-profile\_\-get\_\-version\_\-update} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)
\item
time\_\-t \hyperlink{group__XCCDF_ga72eac3920646d92c72069e5a576c525b}{xccdf\_\-profile\_\-get\_\-version\_\-time} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)
\item
const char $\ast$ \hyperlink{group__XCCDF_gadc6cdfd0b1cf96bd79256d93e960d44f}{xccdf\_\-profile\_\-get\_\-note\_\-tag} (const struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$profile)
\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_ga40624656146dc614abc5730db5e4048e}{xccdf\_\-profile\_\-set\_\-note\_\-tag} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, const char $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga89b1d5e244460d0a55ed2a67e1ec0bfd}{xccdf\_\-profile\_\-set\_\-id} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, const char $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga09cea00e9dd68642c261f89d300a9673}{xccdf\_\-profile\_\-set\_\-abstract} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, bool newval)
\item
bool \hyperlink{group__XCCDF_ga3bedeb6863f483ab056b30b5eaec877e}{xccdf\_\-profile\_\-set\_\-prohibit\_\-changes} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, bool newval)
\item
bool \hyperlink{group__XCCDF_gaa0489630ef6420c6ab0bbea941fc82b8}{xccdf\_\-profile\_\-set\_\-extends} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, const char $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga54e8d7a4628eb9943dbe1e5ba09f3d96}{xccdf\_\-profile\_\-set\_\-version} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, const char $\ast$newval)
\item
bool \hyperlink{group__XCCDF_gacdeacb7d013ee05f3ee97dd415c88b9d}{xccdf\_\-profile\_\-set\_\-version\_\-time} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, time\_\-t newval)
\item
bool \hyperlink{group__XCCDF_ga36523e4113f67cfed377d1c44f1a4a61}{xccdf\_\-profile\_\-set\_\-version\_\-update} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, const char $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga588c74f0bf55cf0b23e25975c2c2c475}{xccdf\_\-profile\_\-add\_\-select} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga12960550c409f90d258169da6807aa4d}{xccdf\_\-profile\_\-add\_\-setvalue} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, struct \hyperlink{structxccdf__setvalue}{xccdf\_\-setvalue} $\ast$newval)
\item
bool \hyperlink{group__XCCDF_gab47789bf6b4db787f9ac56a3d32b6751}{xccdf\_\-profile\_\-add\_\-refine\_\-value} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, struct \hyperlink{structxccdf__refine__value}{xccdf\_\-refine\_\-value} $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga9fa104393f5e4b62a669f3ac264bf0a2}{xccdf\_\-profile\_\-add\_\-refine\_\-rule} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, struct \hyperlink{structxccdf__refine__rule}{xccdf\_\-refine\_\-rule} $\ast$newval)
\item
bool \hyperlink{group__XCCDF_gacc0018564a84f3ad2da0e26b890afc3e}{xccdf\_\-profile\_\-add\_\-description} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, struct \hyperlink{structoscap__text}{oscap\_\-text} $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga5827cd99050d4857ea868a18974e2733}{xccdf\_\-profile\_\-add\_\-platform} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, const char $\ast$newval)
\item
bool \hyperlink{group__XCCDF_gac950fa67ba12e0e7120b844a85399c14}{xccdf\_\-profile\_\-add\_\-reference} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, struct \hyperlink{structxccdf__reference}{xccdf\_\-reference} $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga99d83b64bdc27b9832e49b3c47d0b626}{xccdf\_\-profile\_\-add\_\-status} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, struct \hyperlink{structxccdf__status}{xccdf\_\-status} $\ast$newval)
\item
bool \hyperlink{group__XCCDF_ga46b130aca56510c24cf94762bf8c5f24}{xccdf\_\-profile\_\-add\_\-title} (struct \hyperlink{structxccdf__profile}{xccdf\_\-profile} $\ast$item, struct \hyperlink{structoscap__text}{oscap\_\-text} $\ast$newval)
\end{DoxyCompactItemize}
\end{Indent}
\subsection{Detailed Description}
XCCDF profile is a set of tests and their settings in a compact package.
The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize}
\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/XCCDF/public/\hyperlink{xccdf_8h}{xccdf.h}\end{DoxyCompactItemize}
|