File: structxccdf__model.tex

package info (click to toggle)
openscap 0.5.12-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 27,052 kB
  • ctags: 21,075
  • sloc: xml: 82,351; ansic: 52,101; sh: 17,802; makefile: 748; perl: 442; cpp: 117; python: 110
file content (58 lines) | stat: -rw-r--r-- 2,617 bytes parent folder | download
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
\hypertarget{structxccdf__model}{
\section{xccdf\_\-model Struct Reference}
\label{structxccdf__model}\index{xccdf\_\-model@{xccdf\_\-model}}
}


XCCDF scoring model.  


{\ttfamily \#include $<$xccdf.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structxccdf__model}{xccdf\_\-model} $\ast$ \hyperlink{group__XCCDF_ga3d4e3bd1653fb3c304cd22c4dd5aee21}{xccdf\_\-model\_\-new} (void)
\item 
struct \hyperlink{structxccdf__model}{xccdf\_\-model} $\ast$ \hyperlink{group__XCCDF_ga32512d70299af35dcc4e5aa90bb2576f}{xccdf\_\-model\_\-clone} (const struct \hyperlink{structxccdf__model}{xccdf\_\-model} $\ast$old\_\-model)
\item 
void \hyperlink{group__XCCDF_ga475fc20193714592641644266545c5dc}{xccdf\_\-model\_\-free} (struct \hyperlink{structxccdf__model}{xccdf\_\-model} $\ast$model)
\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_ga1abc3bda88ff1f22c88cbb7623490e25}{xccdf\_\-model\_\-get\_\-system} (const struct \hyperlink{structxccdf__model}{xccdf\_\-model} $\ast$model)
\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_ga3510c53b7f24683f4133b0991f757c5c}{xccdf\_\-model\_\-set\_\-system} (struct \hyperlink{structxccdf__model}{xccdf\_\-model} $\ast$obj, const char $\ast$newval)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structxccdf__model_a842e1978f94ddc78792ce1572682fb4c}{
char $\ast$ {\bfseries system}}
\label{structxccdf__model_a842e1978f94ddc78792ce1572682fb4c}

\item 
\hypertarget{structxccdf__model_a9099072bb8abc7172af96520d440d4ed}{
struct \hyperlink{structoscap__htable}{oscap\_\-htable} $\ast$ {\bfseries params}}
\label{structxccdf__model_a9099072bb8abc7172af96520d440d4ed}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
XCCDF scoring model. 

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}