File: structxccdf__select.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 (71 lines) | stat: -rw-r--r-- 3,705 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
59
60
61
62
63
64
65
66
67
68
69
70
71
\hypertarget{structxccdf__select}{
\section{xccdf\_\-select Struct Reference}
\label{structxccdf__select}\index{xccdf\_\-select@{xccdf\_\-select}}
}


XCCDF select option usen in the profile.  


{\ttfamily \#include $<$xccdf.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__XCCDF_gaa8284199fb45059813ceb85ed71a0459}{xccdf\_\-select\_\-free} (struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$sel)
\item 
struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$ \hyperlink{group__XCCDF_gaeaa826b07dfb7a75c5f612b4f7931d12}{xccdf\_\-select\_\-clone} (const struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$select)
\item 
struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$ \hyperlink{group__XCCDF_ga68ab3377aecffd819f53ee3eb7071ecb}{xccdf\_\-select\_\-new} (void)
\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 
bool \hyperlink{group__XCCDF_ga8474b818f98ddbaac353cdd751fd8c09}{xccdf\_\-select\_\-get\_\-selected} (const struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$select)
\item 
const char $\ast$ \hyperlink{group__XCCDF_ga538f1b8fde8ff6dbcdef9cbe4e816c54}{xccdf\_\-select\_\-get\_\-item} (const struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$select)
\item 
struct \hyperlink{structoscap__text__iterator}{oscap\_\-text\_\-iterator} $\ast$ \hyperlink{group__XCCDF_ga0e05aca6e28b454532ea56f594ce4241}{xccdf\_\-select\_\-get\_\-remarks} (const struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$select)
\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_ga6200aca9ea2b1ec367303d5e5015ab13}{xccdf\_\-select\_\-set\_\-item} (struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$obj, const char $\ast$newval)
\item 
bool \hyperlink{group__XCCDF_ga508752bd9750df4f39092ac83b38bd61}{xccdf\_\-select\_\-set\_\-selected} (struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$obj, bool newval)
\item 
bool \hyperlink{group__XCCDF_ga0dfcc7889560fdd8c2df6ef077b70735}{xccdf\_\-select\_\-add\_\-remark} (struct \hyperlink{structxccdf__select}{xccdf\_\-select} $\ast$obj, struct \hyperlink{structoscap__text}{oscap\_\-text} $\ast$item)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structxccdf__select_adf9597b3984e2009395f9f366da9209e}{
char $\ast$ {\bfseries item}}
\label{structxccdf__select_adf9597b3984e2009395f9f366da9209e}

\item 
\hypertarget{structxccdf__select_a167c2176abaaf19e9825a4e7339bca49}{
bool {\bfseries selected}}
\label{structxccdf__select_a167c2176abaaf19e9825a4e7339bca49}

\item 
\hypertarget{structxccdf__select_abe12467a7248b669e17c2e52d216171a}{
struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ {\bfseries remarks}}
\label{structxccdf__select_abe12467a7248b669e17c2e52d216171a}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
XCCDF select option usen in the profile. 

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}