Sophie

Sophie

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

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

\hypertarget{cve_8c}{
\section{/home/pvrabec/openscap/openscap-\/0.5.7/src/CVE/cve.c File Reference}
\label{cve_8c}\index{/home/pvrabec/openscap/openscap-\/0.5.7/src/CVE/cve.c@{/home/pvrabec/openscap/openscap-\/0.5.7/src/CVE/cve.c}}
}


Interface to Common Vulnerability and Exposure dictionary.  
{\ttfamily \#include \char`\"{}public/cve.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}cve\_\-priv.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}../common/util.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}../common/list.h\char`\"{}}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\hypertarget{cve_8c_a03544e0b14e64db06c427a109f27d308}{
\#define {\bfseries CVE\_\-SUPPORTED}~\char`\"{}2.0\char`\"{}}
\label{cve_8c_a03544e0b14e64db06c427a109f27d308}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structcve__model}{cve\_\-model} $\ast$ \hyperlink{cve_8c_adeb6530e23981aad87ee849c26d9cd8b}{cve\_\-model\_\-import} (const struct \hyperlink{structoscap__import__source}{oscap\_\-import\_\-source} $\ast$source)
\begin{DoxyCompactList}\small\item\em Public function to import CVE model from OSCAP import source. \item\end{DoxyCompactList}\item 
void \hyperlink{cve_8c_a10ba15f1eb55778addf375685b80e96f}{cve\_\-model\_\-export} (struct \hyperlink{structcve__model}{cve\_\-model} $\ast$cve, const struct \hyperlink{structoscap__export__target}{oscap\_\-export\_\-target} $\ast$target)
\begin{DoxyCompactList}\small\item\em Public function to export CVE model to OSCAP export target. \item\end{DoxyCompactList}\item 
\hypertarget{cve_8c_aa3cede3c354e6209b6c4a87af61be0a4}{
const char $\ast$ {\bfseries cve\_\-model\_\-supported} (void)}
\label{cve_8c_aa3cede3c354e6209b6c4a87af61be0a4}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface to Common Vulnerability and Exposure dictionary. See details at: \href{http://cve.mitre.org/}{\tt http://cve.mitre.org/} \href{http://nvd.nist.gov/download.cfm}{\tt http://nvd.nist.gov/download.cfm} 

\subsection{Function Documentation}
\hypertarget{cve_8c_a10ba15f1eb55778addf375685b80e96f}{
\index{cve.c@{cve.c}!cve\_\-model\_\-export@{cve\_\-model\_\-export}}
\index{cve\_\-model\_\-export@{cve\_\-model\_\-export}!cve.c@{cve.c}}
\subsubsection[{cve\_\-model\_\-export}]{\setlength{\rightskip}{0pt plus 5cm}void cve\_\-model\_\-export (struct {\bf cve\_\-model} $\ast$ {\em cve}, \/  const struct {\bf oscap\_\-export\_\-target} $\ast$ {\em target})}}
\label{cve_8c_a10ba15f1eb55778addf375685b80e96f}


Public function to export CVE model to OSCAP export target. Function fill the structure \_\-target\_\- with model that is represented by structure \_\-cve\_\-. \hypertarget{cve_8c_adeb6530e23981aad87ee849c26d9cd8b}{
\index{cve.c@{cve.c}!cve\_\-model\_\-import@{cve\_\-model\_\-import}}
\index{cve\_\-model\_\-import@{cve\_\-model\_\-import}!cve.c@{cve.c}}
\subsubsection[{cve\_\-model\_\-import}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf cve\_\-model}$\ast$ cve\_\-model\_\-import (const struct {\bf oscap\_\-import\_\-source} $\ast$ {\em source})\hspace{0.3cm}{\ttfamily  \mbox{[}read\mbox{]}}}}
\label{cve_8c_adeb6530e23981aad87ee849c26d9cd8b}


Public function to import CVE model from OSCAP import source. Function returns CVE model, need to free source after calling this function