1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
|
\hypertarget{structcvss__entry}{
\section{cvss\_\-entry Struct Reference}
\label{structcvss__entry}\index{cvss\_\-entry@{cvss\_\-entry}}
}
Struct holding CVSS entry data.
{\ttfamily \#include $<$cvss\_\-priv.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$ \hyperlink{group__CVSS_gac22e9720255da64ad61254e9f83a217a}{cvss\_\-entry\_\-new} (void)
\begin{DoxyCompactList}\small\item\em New CVSS entry. \item\end{DoxyCompactList}\item
void \hyperlink{group__CVSS_gadf17b884bb1f6a4bf8060dca0c1985b8}{cvss\_\-entry\_\-free} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Free CVSS entry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf Getters}\par
{\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d}
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__CVSS_gace7bd1259aba5ec54efa3ed38bab87d4}{cvss\_\-entry\_\-get\_\-score} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get score from CVSS entry. \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__CVSS_ga8cfc7b2fefdee65e6d58b84402164c05}{cvss\_\-entry\_\-get\_\-AV} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get access vector from CVSS entry. \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__CVSS_gae21e77d6573a0ee1420a9ca82a7be75c}{cvss\_\-entry\_\-get\_\-AC} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get access complexity from CVSS entry. \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__CVSS_ga0d2b448084aae54a11ef0ea40cfa4626}{cvss\_\-entry\_\-get\_\-authentication} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get authentication from CVSS entry. \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__CVSS_ga2a0c39ead4bd61db45d5cffb87dae5e8}{cvss\_\-entry\_\-get\_\-imp\_\-confidentiality} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get confidentiality impact from CVSS entry. \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__CVSS_ga47101f9f9df15a9ac9e0c663d1bc5d36}{cvss\_\-entry\_\-get\_\-imp\_\-integrity} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get integrity impact from CVSS entry. \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__CVSS_gae294a548923b0737967ad61062413ede}{cvss\_\-entry\_\-get\_\-imp\_\-availability} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get availability impact from CVSS entry. \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__CVSS_ga37520cd0e3901deca807f10d7b3705ec}{cvss\_\-entry\_\-get\_\-source} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get source from CVSS entry. \item\end{DoxyCompactList}\item
const char $\ast$ \hyperlink{group__CVSS_ga013f35141b2e82821e7c59ab73542e85}{cvss\_\-entry\_\-get\_\-generated} (const struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get generated date-\/time from CVSS entry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Setters}\par
{\em \label{_amgrp6e47466b75bb957a603aa54c079ac8bf}
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__CVSS_ga8d84f6ec61dd6f895acdfba14ed0e642}{cvss\_\-entry\_\-set\_\-score} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-score)
\begin{DoxyCompactList}\small\item\em Set of CVSS entry. \item\end{DoxyCompactList}\item
bool \hyperlink{group__CVSS_ga85b27c0845cee337a308a010090122fe}{cvss\_\-entry\_\-set\_\-AV} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-AV)
\begin{DoxyCompactList}\small\item\em Set access vector of CVSS entry. \item\end{DoxyCompactList}\item
bool \hyperlink{group__CVSS_ga55c2c8908553d144dec1cfbd3c543cd8}{cvss\_\-entry\_\-set\_\-AC} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-AC)
\begin{DoxyCompactList}\small\item\em Set access complexity of CVSS entry. \item\end{DoxyCompactList}\item
bool \hyperlink{group__CVSS_ga39187f57af2103da2cf1797b083c1ad9}{cvss\_\-entry\_\-set\_\-authentication} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-authentication)
\begin{DoxyCompactList}\small\item\em Set authentication of CVSS entry. \item\end{DoxyCompactList}\item
bool \hyperlink{group__CVSS_gafdca34c98464178049a520a8b155dc9a}{cvss\_\-entry\_\-set\_\-imp\_\-confidentiality} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-item)
\begin{DoxyCompactList}\small\item\em Set confidentiality impact of CVSS entry. \item\end{DoxyCompactList}\item
bool \hyperlink{group__CVSS_ga34ff47528aa91b62c7c0f7fe848c4c45}{cvss\_\-entry\_\-set\_\-imp\_\-integrity} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-item)
\begin{DoxyCompactList}\small\item\em Set integrity impact of CVSS entry. \item\end{DoxyCompactList}\item
bool \hyperlink{group__CVSS_ga08355043529fa595668b68720516feb4}{cvss\_\-entry\_\-set\_\-imp\_\-availability} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-item)
\begin{DoxyCompactList}\small\item\em Set availability impact of CVSS entry. \item\end{DoxyCompactList}\item
bool \hyperlink{group__CVSS_ga05fd7639fe9882c87df4aba240c0b1ad}{cvss\_\-entry\_\-set\_\-source} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-source)
\begin{DoxyCompactList}\small\item\em Set source of CVSS entry. \item\end{DoxyCompactList}\item
bool \hyperlink{group__CVSS_ga27f5a60fe5320c17a8d0b31c8f648047}{cvss\_\-entry\_\-set\_\-generated} (struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$entry, const char $\ast$new\_\-generated)
\begin{DoxyCompactList}\small\item\em Set generated date-\/time of CVSS entry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Evaluators}\par
{\em \label{_amgrp1fdbbbb8aba6580be2c9cb4b12e86ca2}
}\begin{DoxyCompactItemize}
\item
const char $\ast$ \hyperlink{group__CVSS_gab5eff9009d32f324ea52d1a2c4a109de}{cvss\_\-model\_\-supported} (void)
\begin{DoxyCompactList}\small\item\em Get supported version of CVSS XML. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item
\hypertarget{structcvss__entry_a110be223710a7b00f63ee06dd637276c}{
char $\ast$ {\bfseries score}}
\label{structcvss__entry_a110be223710a7b00f63ee06dd637276c}
\item
\hypertarget{structcvss__entry_a4ab9d0381c4cd3a42037ff1662531d23}{
char $\ast$ {\bfseries AV}}
\label{structcvss__entry_a4ab9d0381c4cd3a42037ff1662531d23}
\item
\hypertarget{structcvss__entry_a6f6692fb1903b5263a79ba0a8a3771d5}{
char $\ast$ {\bfseries AC}}
\label{structcvss__entry_a6f6692fb1903b5263a79ba0a8a3771d5}
\item
\hypertarget{structcvss__entry_a9b2e63a167506f305ba98d96648d5478}{
char $\ast$ {\bfseries authentication}}
\label{structcvss__entry_a9b2e63a167506f305ba98d96648d5478}
\item
\hypertarget{structcvss__entry_aaf92894756e97a87dcecfe173cbaec32}{
char $\ast$ {\bfseries imp\_\-confidentiality}}
\label{structcvss__entry_aaf92894756e97a87dcecfe173cbaec32}
\item
\hypertarget{structcvss__entry_a4741457583f464dcc1bb6cf7fc28aea3}{
char $\ast$ {\bfseries imp\_\-integrity}}
\label{structcvss__entry_a4741457583f464dcc1bb6cf7fc28aea3}
\item
\hypertarget{structcvss__entry_a4cf392f4433268dd52b5b0ffca718325}{
char $\ast$ {\bfseries imp\_\-availability}}
\label{structcvss__entry_a4cf392f4433268dd52b5b0ffca718325}
\item
\hypertarget{structcvss__entry_a977ce317bdd12e343ba2efc07622000b}{
char $\ast$ {\bfseries source}}
\label{structcvss__entry_a977ce317bdd12e343ba2efc07622000b}
\item
\hypertarget{structcvss__entry_a7c326bdb4732c09744d7c99f41b302b2}{
char $\ast$ {\bfseries generated}}
\label{structcvss__entry_a7c326bdb4732c09744d7c99f41b302b2}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
Struct holding CVSS entry data. Structure holding CVSS model.
The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/CVSS/\hyperlink{cvss__priv_8c}{cvss\_\-priv.c}\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/CVSS/public/\hyperlink{cvss_8h}{cvss.h}\end{DoxyCompactItemize}
|