Sophie

Sophie

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

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

\hypertarget{structcve__summary}{
\section{cve\_\-summary Struct Reference}
\label{structcve__summary}\index{cve\_\-summary@{cve\_\-summary}}
}


Structure holding CVE summary data.  


{\ttfamily \#include $<$cve\_\-priv.h$>$}\subsection*{Public Member Functions}
\begin{Indent}{\bf Export functions}\par
{\em \label{_amgrp5713b34587ba18c5a4561b737b639ae5}
Functions for export structures to XML by XML writer.

Exported structures need to be freed by the caller. }\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__CVEPrivate_gaa3e799c1d7ecc35db1631639c9c9c431}{cve\_\-summary\_\-export} (const struct \hyperlink{structcve__summary}{cve\_\-summary} $\ast$sum, xmlTextWriterPtr writer)
\begin{DoxyCompactList}\small\item\em Export CVE summary to XML file. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\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__CVE_ga5234d5df28f0d0ad48ef8bf351adcdad}{cve\_\-summary\_\-get\_\-summary} (const struct \hyperlink{structcve__summary}{cve\_\-summary} $\ast$summary)
\begin{DoxyCompactList}\small\item\em Get value from CVE summary. \item\end{DoxyCompactList}\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__CVE_gac808f096d31ef877f2d593d91d77c626}{cve\_\-summary\_\-set\_\-summary} (struct \hyperlink{structcve__summary}{cve\_\-summary} $\ast$summary, const char $\ast$new\_\-summary)
\begin{DoxyCompactList}\small\item\em Set summary of CVE summary. \item\end{DoxyCompactList}\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{structcve__summary}{cve\_\-summary} $\ast$ \hyperlink{group__CVE_gabd757245c74c304f4b50d0b5aa8e0b59}{cve\_\-summary\_\-new} (void)
\begin{DoxyCompactList}\small\item\em New CVE summary. \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__CVE_ga45e0868236cd48f025759bca7988e3a9}{cve\_\-summary\_\-free} (struct \hyperlink{structcve__summary}{cve\_\-summary} $\ast$summary)
\begin{DoxyCompactList}\small\item\em Free CVE summary. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structcve__summary_a40b68e942a5ae3b16436cd2a5947df00}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcve__summary_a40b68e942a5ae3b16436cd2a5947df00}

\item 
\hypertarget{structcve__summary_acf20053dace0b9ea0356151c85163502}{
char $\ast$ {\bfseries summary}}
\label{structcve__summary_acf20053dace0b9ea0356151c85163502}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Structure holding CVE summary data. 

The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/CVE/\hyperlink{cve__priv_8c}{cve\_\-priv.c}\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/CVE/\hyperlink{cve__priv_8h}{cve\_\-priv.h}\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/CVE/public/\hyperlink{cve_8h}{cve.h}\end{DoxyCompactItemize}