Open SCAP Library
|
Interface to Common Vulnerability Scoring System Version 2. More...
#include <stdlib.h>
#include <libxml/xmlreader.h>
#include <libxml/xmlwriter.h>
#include "public/cvss_score.h"
#include "common/util.h"
Go to the source code of this file.
Data Structures | |
struct | cvss_impact |
CVSS impact. More... | |
struct | cvss_metrics |
CVSS metrics. More... | |
Macros | |
#define | CVSSMAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | CVSS_CATEGORY(key) ((key) & ~0xff) |
#define | CVSS_KEY_IDX(key) ((key) & 0xff) |
Functions | |
struct cvss_impact * | cvss_impact_new_from_xml (xmlTextReaderPtr reader) |
bool | cvss_impact_export (const struct cvss_impact *imp, xmlTextWriterPtr writer) |
struct cvss_metrics * | cvss_metrics_new_from_xml (xmlTextReaderPtr reader) |
bool | cvss_metrics_export (const struct cvss_metrics *m, xmlTextWriterPtr writer) |
Interface to Common Vulnerability Scoring System Version 2.
See details at http://nvd.nist.gov/cvss.cfm