File: structoval__sysitem.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 (138 lines) | stat: -rw-r--r-- 8,321 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
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
\hypertarget{structoval__sysitem}{
\section{oval\_\-sysitem Struct Reference}
\label{structoval__sysitem}\index{oval\_\-sysitem@{oval\_\-sysitem}}
}


Data item aggregator.  


{\ttfamily \#include $<$oval\_\-system\_\-characteristics.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__OVALSYS_gaa4fc8256325ba69719d08050cb79f710}{
struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$ {\bfseries oval\_\-sysitem\_\-new} (struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$)}
\label{group__OVALSYS_gaa4fc8256325ba69719d08050cb79f710}

\item 
struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$ \hyperlink{group__OVALSYS_gab1fb01f5015cf24f17dffd3974881751}{oval\_\-sysitem\_\-clone} (struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$new\_\-model, struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$old\_\-item)
\item 
\hypertarget{group__OVALSYS_ga20b80c0c85b2b25681779d0b9b7ecbf9}{
void {\bfseries oval\_\-sysitem\_\-free} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$)}
\label{group__OVALSYS_ga20b80c0c85b2b25681779d0b9b7ecbf9}

\end{DoxyCompactItemize}
\begin{Indent}{\bf Setters}\par
{\em \label{_amgrp6e47466b75bb957a603aa54c079ac8bf}
 }\begin{DoxyCompactItemize}
\item 
\hypertarget{group__OVALSYS_gae2ec3f3083d2728cb79c2141c6bb5267}{
void {\bfseries oval\_\-sysitem\_\-set\_\-name} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$sysitem, char $\ast$name)}
\label{group__OVALSYS_gae2ec3f3083d2728cb79c2141c6bb5267}

\item 
\hypertarget{group__OVALSYS_ga73af2e034465552ffba9f611446bb99a}{
void {\bfseries oval\_\-sysitem\_\-set\_\-value} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$sysitem, char $\ast$value)}
\label{group__OVALSYS_ga73af2e034465552ffba9f611446bb99a}

\item 
\hypertarget{group__OVALSYS_gac6f953b2088698e67d86d1c0ab21f09d}{
void {\bfseries oval\_\-sysitem\_\-set\_\-status} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$sysitem, \hyperlink{group__OVALSYS_gacf14e82865b7254b573e9a98e7fae422}{oval\_\-syschar\_\-status\_\-t} status)}
\label{group__OVALSYS_gac6f953b2088698e67d86d1c0ab21f09d}

\item 
\hypertarget{group__OVALSYS_ga3acfa3c2cc7ad97a57eaca8e0c8907b3}{
void {\bfseries oval\_\-sysitem\_\-set\_\-datatype} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$sysitem, \hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} type)}
\label{group__OVALSYS_ga3acfa3c2cc7ad97a57eaca8e0c8907b3}

\item 
\hypertarget{group__OVALSYS_ga47abab1deb764a7a5fe4de6f68f7f2cb}{
void {\bfseries oval\_\-sysitem\_\-set\_\-mask} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$sysitem, int mask)}
\label{group__OVALSYS_ga47abab1deb764a7a5fe4de6f68f7f2cb}

\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Getters}\par
{\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d}
 }\begin{DoxyCompactItemize}
\item 
\hypertarget{group__OVALSYS_ga910a178e82371176e45c2e9f145ac96f}{
char $\ast$ \hyperlink{group__OVALSYS_ga910a178e82371176e45c2e9f145ac96f}{oval\_\-sysitem\_\-get\_\-name} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$)}
\label{group__OVALSYS_ga910a178e82371176e45c2e9f145ac96f}

\begin{DoxyCompactList}\small\item\em Get system data item name. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALSYS_gad5f6e15dcc8017921542abe813cf1d09}{
char $\ast$ \hyperlink{group__OVALSYS_gad5f6e15dcc8017921542abe813cf1d09}{oval\_\-sysitem\_\-get\_\-value} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$)}
\label{group__OVALSYS_gad5f6e15dcc8017921542abe813cf1d09}

\begin{DoxyCompactList}\small\item\em Get system data item value. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALSYS_ga922cc7fa2dc69a8314cb68bd2553e076}{
\hyperlink{group__OVALSYS_gacf14e82865b7254b573e9a98e7fae422}{oval\_\-syschar\_\-status\_\-t} \hyperlink{group__OVALSYS_ga922cc7fa2dc69a8314cb68bd2553e076}{oval\_\-sysitem\_\-get\_\-status} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$)}
\label{group__OVALSYS_ga922cc7fa2dc69a8314cb68bd2553e076}

\begin{DoxyCompactList}\small\item\em Get system data item status. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALSYS_gabca364825d55ed1dc84706e0e3287783}{
\hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} \hyperlink{group__OVALSYS_gabca364825d55ed1dc84706e0e3287783}{oval\_\-sysitem\_\-get\_\-datatype} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$)}
\label{group__OVALSYS_gabca364825d55ed1dc84706e0e3287783}

\begin{DoxyCompactList}\small\item\em Get system data item data type. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALSYS_ga87b1c44378c9a2f7fa71da87d4bcb3bc}{
int \hyperlink{group__OVALSYS_ga87b1c44378c9a2f7fa71da87d4bcb3bc}{oval\_\-sysitem\_\-get\_\-mask} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$)}
\label{group__OVALSYS_ga87b1c44378c9a2f7fa71da87d4bcb3bc}

\begin{DoxyCompactList}\small\item\em Get system data item mask. \item\end{DoxyCompactList}\item 
bool \hyperlink{group__OVALSYS_ga74c5848295e786048c745d2cfa72c630}{oval\_\-sysitem\_\-is\_\-locked} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$sysitem)
\begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the sysitem instance is locked. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Evaluators}\par
{\em \label{_amgrp1fdbbbb8aba6580be2c9cb4b12e86ca2}
 }\begin{DoxyCompactItemize}
\item 
\hypertarget{group__OVALSYS_gae363a57a61b73dfef3356ba5d3a16752}{
bool \hyperlink{group__OVALSYS_gae363a57a61b73dfef3356ba5d3a16752}{oval\_\-sysitem\_\-is\_\-valid} (struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$sysitem)}
\label{group__OVALSYS_gae363a57a61b73dfef3356ba5d3a16752}

\begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the sysitem instance is valid. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structoval__sysitem_a8b0db2972114e3ab6520378db3af2a75}{
struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$ {\bfseries model}}
\label{structoval__sysitem_a8b0db2972114e3ab6520378db3af2a75}

\item 
\hypertarget{structoval__sysitem_a6fe0ea59b4f75fbd212d9a3c0291322b}{
char $\ast$ {\bfseries name}}
\label{structoval__sysitem_a6fe0ea59b4f75fbd212d9a3c0291322b}

\item 
\hypertarget{structoval__sysitem_abaf10e636913a7dc4a8eca6267c99d49}{
char $\ast$ {\bfseries value}}
\label{structoval__sysitem_abaf10e636913a7dc4a8eca6267c99d49}

\item 
\hypertarget{structoval__sysitem_a045546b9d28c84f60051bb6851599079}{
int {\bfseries mask}}
\label{structoval__sysitem_a045546b9d28c84f60051bb6851599079}

\item 
\hypertarget{structoval__sysitem_aecfc9a8673fab126991e7d362a0be790}{
\hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} {\bfseries datatype}}
\label{structoval__sysitem_aecfc9a8673fab126991e7d362a0be790}

\item 
\hypertarget{structoval__sysitem_afa16a44cf2ff9039ca907b525caf9e5b}{
\hyperlink{group__OVALSYS_gacf14e82865b7254b573e9a98e7fae422}{oval\_\-syschar\_\-status\_\-t} {\bfseries status}}
\label{structoval__sysitem_afa16a44cf2ff9039ca907b525caf9e5b}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Data item aggregator. Instances of Oval\_\-sysitem holds information about a specific item on a system. An item might be a file, a rpm, a process, etc. This element is extended by the different component schemas through substitution groups. Each item represents a unique instance of an object as specified by an OVAL Object. For example, a single file or a single user. Each item my be referenced by more than one object in the collected object section. Please refer to the description of ItemType for more details about the information stored in items. 

The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/OVAL/\hyperlink{oval__sysItem_8c}{oval\_\-sysItem.c}\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/OVAL/public/\hyperlink{oval__system__characteristics_8h}{oval\_\-system\_\-characteristics.h}\end{DoxyCompactItemize}