/home/pvrabec/project/openscap/openscap-0.6.0/src/CVSS/cvss_priv.h File Reference

Interface to Common Vulnerability Scoring System Version 2. More...

#include <libxml/xmlreader.h>
#include <libxml/xmlwriter.h>
#include "../common/list.h"
#include "../common/util.h"
#include "../common/elements.h"

Go to the source code of this file.

Functions

Parse functions

Functions for parsing structures from XML.

Return value is new structure filled by content of XML file represented by XML reader or import source structure. Structure needs to be freed by the caller.



struct cvss_entrycvss_entry_parse (xmlTextReaderPtr reader)
 Parse CVSS entry.
void cvss_entry_export (const struct cvss_entry *entry, xmlTextWriterPtr writer)
 Export CVSS entry.
int cvss_map_av_get (const char *string)
int cvss_map_ac_get (const char *string)
int cvss_map_auth_get (const char *string)
int cvss_map_imp_get (const char *string)

Detailed Description

Interface to Common Vulnerability Scoring System Version 2.

See details at http://nvd.nist.gov/cvss.cfm


Function Documentation

void cvss_entry_export ( const struct cvss_entry entry,
xmlTextWriterPtr  writer 
)

Export CVSS entry.

Parameters:
entry CVSS entry
writer XML Text Writer representing XML model
struct cvss_entry* cvss_entry_parse ( xmlTextReaderPtr  reader  )  [read]

Parse CVSS entry.

Parameters:
reader XML Text Reader representing XML model
Returns:
new parsed CVSS entry

Generated on 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1