File: structcve__entry.tex

package info (click to toggle)
openscap 0.5.12-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 27,052 kB
  • ctags: 21,075
  • sloc: xml: 82,351; ansic: 52,101; sh: 17,802; makefile: 748; perl: 442; cpp: 117; python: 110
file content (148 lines) | stat: -rw-r--r-- 10,751 bytes parent folder | download
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
\hypertarget{structcve__entry}{
\section{cve\_\-entry Struct Reference}
\label{structcve__entry}\index{cve\_\-entry@{cve\_\-entry}}
}


Structure holding CVE entry data.  


{\ttfamily \#include $<$cve\_\-priv.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$ \hyperlink{group__CVE_ga0731dd5ffd1384827771a520706c982b}{cve\_\-entry\_\-new} (void)
\begin{DoxyCompactList}\small\item\em New CVE entry. \item\end{DoxyCompactList}\item 
void \hyperlink{group__CVE_gae7281f9b58c72b3c75263a332d2d72be}{cve\_\-entry\_\-free} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Free CVE entry. \item\end{DoxyCompactList}\item 
void \hyperlink{group__CVE_ga2bd952914d92486a9e70a1af5ae241f2}{cwe\_\-entry\_\-free} (struct \hyperlink{structcwe__entry}{cwe\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Free CVE 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 
struct \hyperlink{structcve__entry__iterator}{cve\_\-entry\_\-iterator} $\ast$ \hyperlink{group__CVE_ga6c0559319c41b84a79c42d0125e7bead}{cve\_\-model\_\-get\_\-entries} (const struct \hyperlink{structcve__model}{cve\_\-model} $\ast$\hyperlink{structcve__model}{cve\_\-model})
\begin{DoxyCompactList}\small\item\em Get en iterator to CVE entries. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__CVE_gacfe04d0908821755400cc9ce0499a04a}{cve\_\-entry\_\-get\_\-id} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$item)
\begin{DoxyCompactList}\small\item\em Get CVE entry ID. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__CVE_gab1e298fe4686a8ca10e8e1743fa7a25b}{cve\_\-entry\_\-get\_\-cwe} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$item)
\begin{DoxyCompactList}\small\item\em Get CVE entry CWE. \item\end{DoxyCompactList}\item 
struct \hyperlink{structcve__summary__iterator}{cve\_\-summary\_\-iterator} $\ast$ \hyperlink{group__CVE_ga14a12fe41900b182f931036a9f5e3985}{cve\_\-entry\_\-get\_\-summaries} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$item)
\begin{DoxyCompactList}\small\item\em Get CVE entry summary. \item\end{DoxyCompactList}\item 
struct \hyperlink{structcve__reference__iterator}{cve\_\-reference\_\-iterator} $\ast$ \hyperlink{group__CVE_ga65ea73a356d65b40bd762715544ffda8}{cve\_\-entry\_\-get\_\-references} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$item)
\begin{DoxyCompactList}\small\item\em Get an iterator to CVE entry's references. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__CVE_ga21d4051a634306e5fbed80bea417ce50}{cwe\_\-entry\_\-get\_\-value} (const struct \hyperlink{structcwe__entry}{cwe\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get CVE entry value. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__CVE_gac3d36ed79d2cef94deb794acc842f044}{cve\_\-entry\_\-get\_\-published} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get CVE entry published date. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__CVE_gaecdcf4a431a138256189a4f7db2915e7}{cve\_\-entry\_\-get\_\-modified} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get CVE entry modified. \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__CVE_ga4825c77c766209270e22e5091c36124d}{cve\_\-entry\_\-get\_\-sec\_\-protection} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get CVE entry protection. \item\end{DoxyCompactList}\item 
struct \hyperlink{structcve__product__iterator}{cve\_\-product\_\-iterator} $\ast$ \hyperlink{group__CVE_gaeaf693667a6be5206b93115d9376b01b}{cve\_\-entry\_\-get\_\-products} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get CVE entry products. \item\end{DoxyCompactList}\item 
struct \hyperlink{structcve__configuration__iterator}{cve\_\-configuration\_\-iterator} $\ast$ \hyperlink{group__CVE_gabfc55b43fec27e5d0d4909aa70fa6b1d}{cve\_\-entry\_\-get\_\-configurations} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry)
\begin{DoxyCompactList}\small\item\em Get CVE . \item\end{DoxyCompactList}\item 
struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$ \hyperlink{group__CVE_ga506ec7b3cbffb45eeb53d588acb9f4a1}{cve\_\-entry\_\-get\_\-cvss} (const struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$item)
\begin{DoxyCompactList}\small\item\em Get CVSS structure from CVE. \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__CVE_gab8c42486b472130a692b942402a52e51}{cve\_\-entry\_\-add\_\-product} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, struct \hyperlink{structcve__product}{cve\_\-product} $\ast$new\_\-product)
\item 
bool \hyperlink{group__CVE_ga56861fdd2a2155d04b862a90d26386ed}{cve\_\-entry\_\-add\_\-reference} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, struct \hyperlink{structcve__reference}{cve\_\-reference} $\ast$new\_\-reference)
\item 
bool \hyperlink{group__CVE_gaaef57a0f6d5a61373df62d07b84d8afe}{cve\_\-entry\_\-add\_\-summary} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, struct \hyperlink{structcve__summary}{cve\_\-summary} $\ast$new\_\-summary)
\item 
bool \hyperlink{group__CVE_ga7920b4204de8bde9190ec2de9eb948a2}{cve\_\-entry\_\-add\_\-configuration} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, struct \hyperlink{structcve__configuration}{cve\_\-configuration} $\ast$new\_\-configuration)
\item 
bool \hyperlink{group__CVE_gab1109126271493e2c0db33b7f082eb4b}{cve\_\-entry\_\-set\_\-id} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, const char $\ast$new\_\-id)
\begin{DoxyCompactList}\small\item\em Set id of CVE entry. \item\end{DoxyCompactList}\item 
bool \hyperlink{group__CVE_ga9f822a6af27ec49bbfbf2f604bb0cddb}{cve\_\-entry\_\-set\_\-published} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, const char $\ast$new\_\-published)
\begin{DoxyCompactList}\small\item\em Set publish date of CVE entry. \item\end{DoxyCompactList}\item 
bool \hyperlink{group__CVE_ga946e084826674065ef4a862fae650b10}{cve\_\-entry\_\-set\_\-modified} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, const char $\ast$new\_\-modified)
\begin{DoxyCompactList}\small\item\em Set modified date of CVE entry. \item\end{DoxyCompactList}\item 
bool \hyperlink{group__CVE_ga88ec4f6394ad5fce2e670a4d98994226}{cve\_\-entry\_\-set\_\-sec\_\-protection} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, const char $\ast$new\_\-protection)
\begin{DoxyCompactList}\small\item\em Set protection of CVE entry. \item\end{DoxyCompactList}\item 
bool \hyperlink{group__CVE_gaab16504e6ad7113aa6763574dfcc956d}{cve\_\-entry\_\-set\_\-cwe} (struct \hyperlink{structcve__entry}{cve\_\-entry} $\ast$entry, const char $\ast$cwe)
\begin{DoxyCompactList}\small\item\em Set cwe of CVE entry. \item\end{DoxyCompactList}\item 
bool \hyperlink{group__CVE_ga4bcc1c1d653e2e9963337982dabb5eb1}{cwe\_\-entry\_\-set\_\-value} (struct \hyperlink{structcwe__entry}{cwe\_\-entry} $\ast$entry, const char $\ast$new\_\-value)
\begin{DoxyCompactList}\small\item\em Set value of CVE entry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structcve__entry_a38bd9248b4b2a1754e76c633e6ffb047}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcve__entry_a38bd9248b4b2a1754e76c633e6ffb047}

\item 
\hypertarget{structcve__entry_a8866c847c283833ddd8ddd137bfd7d91}{
char $\ast$ {\bfseries id}}
\label{structcve__entry_a8866c847c283833ddd8ddd137bfd7d91}

\item 
\hypertarget{structcve__entry_a5ae1547c106533e8ebd334946c076091}{
char $\ast$ {\bfseries cve\_\-id}}
\label{structcve__entry_a5ae1547c106533e8ebd334946c076091}

\item 
\hypertarget{structcve__entry_a636fdb49e2b410740702afd44a8687d0}{
struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ {\bfseries products}}
\label{structcve__entry_a636fdb49e2b410740702afd44a8687d0}

\item 
\hypertarget{structcve__entry_a7f2d34b4da3eac6ced35dbdf9d700937}{
char $\ast$ {\bfseries published}}
\label{structcve__entry_a7f2d34b4da3eac6ced35dbdf9d700937}

\item 
\hypertarget{structcve__entry_a11024c1f2a6a9e87c98e71a4eeda82ab}{
char $\ast$ {\bfseries modified}}
\label{structcve__entry_a11024c1f2a6a9e87c98e71a4eeda82ab}

\item 
\hypertarget{structcve__entry_aa0f3e53b1929cd92dc0808a75eb15e56}{
struct \hyperlink{structcvss__entry}{cvss\_\-entry} $\ast$ {\bfseries cvss}}
\label{structcve__entry_aa0f3e53b1929cd92dc0808a75eb15e56}

\item 
\hypertarget{structcve__entry_a0dd1d249bf5241bcbf8f77dd4253ce5d}{
char $\ast$ {\bfseries sec\_\-protection}}
\label{structcve__entry_a0dd1d249bf5241bcbf8f77dd4253ce5d}

\item 
\hypertarget{structcve__entry_a616adc5c5d8b584a7d0246c02c40666f}{
char $\ast$ {\bfseries cwe}}
\label{structcve__entry_a616adc5c5d8b584a7d0246c02c40666f}

\item 
\hypertarget{structcve__entry_a7ba3b361f8ebbc69a0c14efdea718786}{
struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ {\bfseries summaries}}
\label{structcve__entry_a7ba3b361f8ebbc69a0c14efdea718786}

\item 
\hypertarget{structcve__entry_ada4cd5dac96e2d424ecca2a51f6b98a8}{
struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ {\bfseries references}}
\label{structcve__entry_ada4cd5dac96e2d424ecca2a51f6b98a8}

\item 
\hypertarget{structcve__entry_a5ef50e19d586cc44c355ccbdfb2df5c5}{
struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ {\bfseries configurations}}
\label{structcve__entry_a5ef50e19d586cc44c355ccbdfb2df5c5}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Structure holding CVE entry data. 

The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/CVE/\hyperlink{cve__priv_8c}{cve\_\-priv.c}\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/CVE/public/\hyperlink{cve_8h}{cve.h}\end{DoxyCompactItemize}