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
|
\hypertarget{structxccdf__value__binding}{
\section{xccdf\_\-value\_\-binding Struct Reference}
\label{structxccdf__value__binding}\index{xccdf\_\-value\_\-binding@{xccdf\_\-value\_\-binding}}
}
XCCDF value binding structure is binding between Refine values, Set values, Value element and Check export element of benchmark.
{\ttfamily \#include $<$xccdf\_\-policy.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
struct \hyperlink{structxccdf__value__binding}{xccdf\_\-value\_\-binding} $\ast$ \hyperlink{group__XCCDF__POLICY_gaa6bd35d79b54c53ea58cf961898cc16e}{xccdf\_\-value\_\-binding\_\-new} (void)
\begin{DoxyCompactList}\small\item\em Constructor of structure with profile bindings -\/ refine\_\-rules, refine\_\-values and set\_\-values. \item\end{DoxyCompactList}\item
\hypertarget{group__XCCDF__POLICY_gad5089c4cc11671b9f0f71e26197744d0}{
void \hyperlink{group__XCCDF__POLICY_gad5089c4cc11671b9f0f71e26197744d0}{xccdf\_\-value\_\-binding\_\-free} (struct \hyperlink{structxccdf__value__binding}{xccdf\_\-value\_\-binding} $\ast$)}
\label{group__XCCDF__POLICY_gad5089c4cc11671b9f0f71e26197744d0}
\begin{DoxyCompactList}\small\item\em Destructor of Value binding structure. \item\end{DoxyCompactList}\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
char $\ast$ \hyperlink{group__XCCDF__POLICY_gaac7487fef713ec60a222b67668a146da}{xccdf\_\-value\_\-binding\_\-get\_\-name} (const struct \hyperlink{structxccdf__value__binding}{xccdf\_\-value\_\-binding} $\ast$)
\begin{DoxyCompactList}\small\item\em Get variable name from value bindings. \item\end{DoxyCompactList}\item
char $\ast$ \hyperlink{group__XCCDF__POLICY_ga5874ea4c3c0fe686fb60d6c42b4b4ded}{xccdf\_\-value\_\-binding\_\-get\_\-value} (const struct \hyperlink{structxccdf__value__binding}{xccdf\_\-value\_\-binding} $\ast$)
\begin{DoxyCompactList}\small\item\em Get value from value bindings. \item\end{DoxyCompactList}\item
\hyperlink{group__XCCDF_gaa2d75ea6d3cd6957100f532b2ab8e8a8}{xccdf\_\-value\_\-type\_\-t} \hyperlink{group__XCCDF__POLICY_ga5eccc16ae366ae8190c7a7beca4b55a0}{xccdf\_\-value\_\-binding\_\-get\_\-type} (const struct \hyperlink{structxccdf__value__binding}{xccdf\_\-value\_\-binding} $\ast$)
\begin{DoxyCompactList}\small\item\em get variable type from value bindings \item\end{DoxyCompactList}\item
\hyperlink{group__XCCDF_ga4458b04cd1236b95d15ac2d74276c09c}{xccdf\_\-operator\_\-t} \hyperlink{group__XCCDF__POLICY_gad6ef469c638f357a09e2aef1cceb79d3}{xccdf\_\-value\_\-binding\_\-get\_\-operator} (const struct \hyperlink{structxccdf__value__binding}{xccdf\_\-value\_\-binding} $\ast$)
\begin{DoxyCompactList}\small\item\em get Value operator from value bindings \item\end{DoxyCompactList}\item
char $\ast$ \hyperlink{group__XCCDF__POLICY_ga8d957218e74ddaa2929b72cb4f01d9eb}{xccdf\_\-value\_\-binding\_\-get\_\-setvalue} (const struct \hyperlink{structxccdf__value__binding}{xccdf\_\-value\_\-binding} $\ast$)
\begin{DoxyCompactList}\small\item\em get Set Value from value bindings \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item
\hypertarget{structxccdf__value__binding_a7773e1cf579fc72e95b0e037932912dc}{
char $\ast$ \hyperlink{structxccdf__value__binding_a7773e1cf579fc72e95b0e037932912dc}{name}}
\label{structxccdf__value__binding_a7773e1cf579fc72e95b0e037932912dc}
\begin{DoxyCompactList}\small\item\em The name of OVAL Variable. \item\end{DoxyCompactList}\item
\hypertarget{structxccdf__value__binding_a576b4de8e69814881013910f7f66eff8}{
\hyperlink{group__XCCDF_gaa2d75ea6d3cd6957100f532b2ab8e8a8}{xccdf\_\-value\_\-type\_\-t} \hyperlink{structxccdf__value__binding_a576b4de8e69814881013910f7f66eff8}{type}}
\label{structxccdf__value__binding_a576b4de8e69814881013910f7f66eff8}
\begin{DoxyCompactList}\small\item\em Type of Variable. \item\end{DoxyCompactList}\item
\hypertarget{structxccdf__value__binding_a252ab254dd70ce7ad5de4c50518cfc50}{
char $\ast$ \hyperlink{structxccdf__value__binding_a252ab254dd70ce7ad5de4c50518cfc50}{value}}
\label{structxccdf__value__binding_a252ab254dd70ce7ad5de4c50518cfc50}
\begin{DoxyCompactList}\small\item\em Value of variable. \item\end{DoxyCompactList}\item
\hypertarget{structxccdf__value__binding_aa7f71470cf185f252b830fec0bc0406a}{
char $\ast$ \hyperlink{structxccdf__value__binding_aa7f71470cf185f252b830fec0bc0406a}{setvalue}}
\label{structxccdf__value__binding_aa7f71470cf185f252b830fec0bc0406a}
\begin{DoxyCompactList}\small\item\em Set value if defined or NULL. \item\end{DoxyCompactList}\item
\hypertarget{structxccdf__value__binding_a004bc3523ba4b51bb1312b936afc29f1}{
\hyperlink{group__XCCDF_ga4458b04cd1236b95d15ac2d74276c09c}{xccdf\_\-operator\_\-t} \hyperlink{structxccdf__value__binding_a004bc3523ba4b51bb1312b936afc29f1}{operator}}
\label{structxccdf__value__binding_a004bc3523ba4b51bb1312b936afc29f1}
\begin{DoxyCompactList}\small\item\em Operator of Value. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Related Functions}
(Note that these are not member functions.) \begin{Indent}{\bf Iterators}\par
{\em \label{_amgrp523a8681903bcf53bace35316c86fe33}
}\begin{DoxyCompactItemize}
\item
struct \hyperlink{structxccdf__score}{xccdf\_\-score} $\ast$ \hyperlink{group__XCCDF__POLICY_gac9ae032f2fe52c718857ed00cb5e7833}{xccdf\_\-policy\_\-get\_\-score} (struct \hyperlink{structxccdf__policy}{xccdf\_\-policy} $\ast$policy, struct \hyperlink{structxccdf__result}{xccdf\_\-result} $\ast$test\_\-result, const char $\ast$system)
\begin{DoxyCompactList}\small\item\em Get score of the XCCDF Benchmark. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection{Detailed Description}
XCCDF value binding structure is binding between Refine values, Set values, Value element and Check export element of benchmark. Value bindings of policy.
These structures are binded together for exporting values to checking engine.
These bindings are set during the preprocessing of profile, when policies are beeing created.
The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/XCCDF\_\-POLICY/xccdf\_\-policy.c\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/XCCDF\_\-POLICY/public/\hyperlink{xccdf__policy_8h}{xccdf\_\-policy.h}\end{DoxyCompactItemize}
|