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 | |
struct cvss_entry * | cvss_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) |
Interface to Common Vulnerability Scoring System Version 2.
See details at http://nvd.nist.gov/cvss.cfm
void cvss_entry_export | ( | const struct cvss_entry * | entry, | |
xmlTextWriterPtr | writer | |||
) |
Export CVSS entry.
entry | CVSS entry | |
writer | XML Text Writer representing XML model |
struct cvss_entry* cvss_entry_parse | ( | xmlTextReaderPtr | reader | ) | [read] |
Parse CVSS entry.
reader | XML Text Reader representing XML model |