Sophie

Sophie

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

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

\hypertarget{structcpe__check}{
\section{cpe\_\-check Struct Reference}
\label{structcpe__check}\index{cpe\_\-check@{cpe\_\-check}}
}


Structure representing single CPE check.  


{\ttfamily \#include $<$cpedict\_\-priv.h$>$}\subsection*{Public Member Functions}
\begin{Indent}{\bf Get functions}\par
{\em \label{_amgrpc2ac1eb4de8ec5add5567cbae2f237e5}
Functions for getting attributes from CVE model structures.

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__cpedict_gaa038f47ef85bc02e33c02a448c9421ce}{cpe\_\-check\_\-get\_\-system} (const struct \hyperlink{structcpe__check}{cpe\_\-check} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__check}{cpe\_\-check} functions to get system \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__cpedict_ga81cd680f03a8ce9064d578967935ba7f}{cpe\_\-check\_\-get\_\-href} (const struct \hyperlink{structcpe__check}{cpe\_\-check} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__check}{cpe\_\-check} functions to get href \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__cpedict_ga1060b4d1d10cf884e42ee4804d1dc836}{cpe\_\-check\_\-get\_\-identifier} (const struct \hyperlink{structcpe__check}{cpe\_\-check} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__check}{cpe\_\-check} functions to get identifier \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Free functions}\par
{\em \label{_amgrp237dd65bc76b7de56066830910ced6ed}
Destructors of CVE model structures.

Functions free structures with all members recursively. For simple deletion of entity use remove functions. }\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__cpedict_gabc0479af229d502d12d9a6853c7dc048}{cpe\_\-check\_\-free} (struct \hyperlink{structcpe__check}{cpe\_\-check} $\ast$check)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf New functions}\par
{\em \label{_amgrp73a4128f20867fa23ebb2e75e58922df}
Constructors of CVE model structures.

Free function returns new empty allocated structure. If returns non NULL it need to be freed by the caller. }\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structcpe__check}{cpe\_\-check} $\ast$ \hyperlink{group__cpedict_gae902fc4d1f1111833e8e0a282588a725}{cpe\_\-check\_\-new} (void)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Set functions}\par
{\em \label{_amgrp8b7ecf2f4bd25da1aae981677901d55d}
Set functions assign values to members of structures except lists.

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__cpedict_ga00698f3fe0e105ac7311ba148ab2bd54}{cpe\_\-check\_\-set\_\-system} (struct \hyperlink{structcpe__check}{cpe\_\-check} $\ast$check, const char $\ast$new\_\-system)
\item 
bool \hyperlink{group__cpedict_gaaabdbb544d8f00952d5af71902a1faf1}{cpe\_\-check\_\-set\_\-href} (struct \hyperlink{structcpe__check}{cpe\_\-check} $\ast$check, const char $\ast$new\_\-href)
\item 
bool \hyperlink{group__cpedict_ga9de645c73a14aa93645ed4682a861f9f}{cpe\_\-check\_\-set\_\-identifier} (struct \hyperlink{structcpe__check}{cpe\_\-check} $\ast$check, const char $\ast$new\_\-identifier)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structcpe__check_a3fe1af0a6d797a9c1801714b4a49a989}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcpe__check_a3fe1af0a6d797a9c1801714b4a49a989}

\item 
\hypertarget{structcpe__check_a640b5e2d274c0faef79fe10279093ba8}{
char $\ast$ {\bfseries system}}
\label{structcpe__check_a640b5e2d274c0faef79fe10279093ba8}

\item 
\hypertarget{structcpe__check_acea14efff993662a687b264cf13a00f1}{
char $\ast$ {\bfseries href}}
\label{structcpe__check_acea14efff993662a687b264cf13a00f1}

\item 
\hypertarget{structcpe__check_ab2fdf378484f58eb9057b7f379e3d7ff}{
char $\ast$ {\bfseries identifier}}
\label{structcpe__check_ab2fdf378484f58eb9057b7f379e3d7ff}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Structure representing single CPE check. 

The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/CPE/\hyperlink{cpedict__priv_8c}{cpedict\_\-priv.c}\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/CPE/public/\hyperlink{cpedict_8h}{cpedict.h}\end{DoxyCompactItemize}