Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 3736f276bb1ccfbcee6cb2d27b25d981 > files > 877

openscap-devel-0.5.7-1mdv2010.1.x86_64.rpm

\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 
\hypertarget{group__OVALSYS_gab1fb01f5015cf24f17dffd3974881751}{
struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$ {\bfseries oval\_\-sysitem\_\-clone} (struct \hyperlink{structoval__syschar__model}{oval\_\-syschar\_\-model} $\ast$new\_\-model, struct \hyperlink{structoval__sysitem}{oval\_\-sysitem} $\ast$old\_\-item)}
\label{group__OVALSYS_gab1fb01f5015cf24f17dffd3974881751}

\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/openscap/openscap-\/0.5.7/src/OVAL/\hyperlink{oval__sysItem_8c}{oval\_\-sysItem.c}\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/public/\hyperlink{oval__system__characteristics_8h}{oval\_\-system\_\-characteristics.h}\end{DoxyCompactItemize}