File: structoscap__reporter__message.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 (127 lines) | stat: -rw-r--r-- 10,865 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
\hypertarget{structoscap__reporter__message}{
\section{oscap\_\-reporter\_\-message Struct Reference}
\label{structoscap__reporter__message}\index{oscap\_\-reporter\_\-message@{oscap\_\-reporter\_\-message}}
}


Represents a message to be reported.  


{\ttfamily \#include $<$reporter.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$ \hyperlink{group__Reporters_ga128b0e1e7e32b808784e64f7915b849b}{oscap\_\-reporter\_\-message\_\-new} (void)
\item 
struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$ \hyperlink{group__Reporters_gacc16aa1839367828f42f45e24e8b08e9}{oscap\_\-reporter\_\-message\_\-new\_\-fill} (\hyperlink{group__Reporters_ga9958de4d24744d816480c94796014c0a}{oscap\_\-reporter\_\-family\_\-t} family, \hyperlink{group__Reporters_gabea6171ab5d5780073321cfe7687a715}{oscap\_\-reporter\_\-code\_\-t} code, const char $\ast$string)
\item 
struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$ \hyperlink{group__Reporters_gab5ae2a139387dd6a37348af0d208926b}{oscap\_\-reporter\_\-message\_\-new\_\-arg} (\hyperlink{group__Reporters_ga9958de4d24744d816480c94796014c0a}{oscap\_\-reporter\_\-family\_\-t} family, \hyperlink{group__Reporters_gabea6171ab5d5780073321cfe7687a715}{oscap\_\-reporter\_\-code\_\-t} code, const char $\ast$fmt, va\_\-list ap)
\item 
struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$ \hyperlink{group__Reporters_ga31c86db4139bd327cc8c1503e0677d9e}{oscap\_\-reporter\_\-message\_\-new\_\-fmt} (\hyperlink{group__Reporters_ga9958de4d24744d816480c94796014c0a}{oscap\_\-reporter\_\-family\_\-t} family, \hyperlink{group__Reporters_gabea6171ab5d5780073321cfe7687a715}{oscap\_\-reporter\_\-code\_\-t} code, const char $\ast$fmt,...)
\item 
struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$ \hyperlink{group__Reporters_ga07b28d63edf853c4c93d4bc49f9ffb42}{oscap\_\-reporter\_\-message\_\-clone} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
\hyperlink{group__Reporters_ga9958de4d24744d816480c94796014c0a}{oscap\_\-reporter\_\-family\_\-t} \hyperlink{group__Reporters_ga3ff942948fe9614c4b38f5f14a328f26}{oscap\_\-reporter\_\-message\_\-get\_\-family} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$item)
\item 
\hyperlink{group__Reporters_gabea6171ab5d5780073321cfe7687a715}{oscap\_\-reporter\_\-code\_\-t} \hyperlink{group__Reporters_ga1a8ff34a7dfac72b7c9ff73ea5b1d781}{oscap\_\-reporter\_\-message\_\-get\_\-code} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$item)
\item 
const char $\ast$ \hyperlink{group__Reporters_ga17e3cb8cb235c34d5c4a6b1052fd63ae}{oscap\_\-reporter\_\-message\_\-get\_\-string} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$item)
\item 
const char $\ast$ \hyperlink{group__Reporters_ga2088ef45d8e8e77759d9e8e83f498bcc}{oscap\_\-reporter\_\-message\_\-get\_\-user1str} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
int \hyperlink{group__Reporters_gaedd88a92930d41be0af875d5720294e2}{oscap\_\-reporter\_\-message\_\-get\_\-user1num} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
void $\ast$ \hyperlink{group__Reporters_ga90b8581f5908404e8d0cb7ffca028dd4}{oscap\_\-reporter\_\-message\_\-get\_\-user1ptr} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
const char $\ast$ \hyperlink{group__Reporters_ga6926dbbf42758651b9ddb0b1fdfe80b3}{oscap\_\-reporter\_\-message\_\-get\_\-user2str} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
int \hyperlink{group__Reporters_gad8840eb1db5184a5345690c63b4113fb}{oscap\_\-reporter\_\-message\_\-get\_\-user2num} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
void $\ast$ \hyperlink{group__Reporters_ga08eca2b8cb49a1e3f535b314d60382f6}{oscap\_\-reporter\_\-message\_\-get\_\-user2ptr} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
const char $\ast$ \hyperlink{group__Reporters_ga89ca0faf7e28540759389f3469f3cf98}{oscap\_\-reporter\_\-message\_\-get\_\-user3str} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
int \hyperlink{group__Reporters_ga899d3ef9a868dbfd2a9ab305ac20aff7}{oscap\_\-reporter\_\-message\_\-get\_\-user3num} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
void $\ast$ \hyperlink{group__Reporters_gac11910bfa402ce779215101223cad7ba}{oscap\_\-reporter\_\-message\_\-get\_\-user3ptr} (const struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
void \hyperlink{group__Reporters_ga97c2395dd3ccc8dd55c31215ca86feb6}{oscap\_\-reporter\_\-message\_\-free} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg)
\item 
bool \hyperlink{group__Reporters_ga27c96033c163ac244ea330e33c135a37}{oscap\_\-reporter\_\-message\_\-set\_\-family} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$obj, \hyperlink{group__Reporters_ga9958de4d24744d816480c94796014c0a}{oscap\_\-reporter\_\-family\_\-t} newval)
\item 
bool \hyperlink{group__Reporters_gaa18d504462f95063550e23e9172f89cb}{oscap\_\-reporter\_\-message\_\-set\_\-code} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$obj, \hyperlink{group__Reporters_gabea6171ab5d5780073321cfe7687a715}{oscap\_\-reporter\_\-code\_\-t} newval)
\item 
bool \hyperlink{group__Reporters_ga3b2213738b5e3075f79ee32959c894e4}{oscap\_\-reporter\_\-message\_\-set\_\-string} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$obj, const char $\ast$newval)
\item 
bool \hyperlink{group__Reporters_gace579a933c21df2ff864b62a2773fe1e}{oscap\_\-reporter\_\-message\_\-set\_\-user1str} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, const char $\ast$newval)
\item 
bool \hyperlink{group__Reporters_ga226d7243411b4dbe32ac78a601ac54f5}{oscap\_\-reporter\_\-message\_\-set\_\-user1num} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, int newval)
\item 
bool \hyperlink{group__Reporters_ga27f99e719a7119420658181eab4d68b1}{oscap\_\-reporter\_\-message\_\-set\_\-user1ptr} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, void $\ast$newval)
\item 
bool \hyperlink{group__Reporters_ga80cb30f28732e3fbc7c9129146e3294e}{oscap\_\-reporter\_\-message\_\-set\_\-user2str} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, const char $\ast$newval)
\item 
bool \hyperlink{group__Reporters_gaecff54e7b8c7025c7029dc1d933f1dad}{oscap\_\-reporter\_\-message\_\-set\_\-user2num} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, int newval)
\item 
bool \hyperlink{group__Reporters_ga4085262274793b780f91b5ba759c432f}{oscap\_\-reporter\_\-message\_\-set\_\-user2ptr} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, void $\ast$newval)
\item 
bool \hyperlink{group__Reporters_ga0934588ce9cb61b225ab7b9fda0bb971}{oscap\_\-reporter\_\-message\_\-set\_\-user3str} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, const char $\ast$newval)
\item 
bool \hyperlink{group__Reporters_gae751518f8639a2894f7f8980004fcc8c}{oscap\_\-reporter\_\-message\_\-set\_\-user3num} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, int newval)
\item 
bool \hyperlink{group__Reporters_ga5f0ad89c56b2b324e706d03f43814f68}{oscap\_\-reporter\_\-message\_\-set\_\-user3ptr} (struct \hyperlink{structoscap__reporter__message}{oscap\_\-reporter\_\-message} $\ast$msg, void $\ast$newval)
\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structoscap__reporter__message_ae2ec9a738d96dbdb4dffb93006194abb}{
\hyperlink{group__Reporters_ga9958de4d24744d816480c94796014c0a}{oscap\_\-reporter\_\-family\_\-t} {\bfseries family}}
\label{structoscap__reporter__message_ae2ec9a738d96dbdb4dffb93006194abb}

\item 
\hypertarget{structoscap__reporter__message_ac374d3602935bc5075e7f3c35dea0985}{
\hyperlink{group__Reporters_gabea6171ab5d5780073321cfe7687a715}{oscap\_\-reporter\_\-code\_\-t} {\bfseries code}}
\label{structoscap__reporter__message_ac374d3602935bc5075e7f3c35dea0985}

\item 
\hypertarget{structoscap__reporter__message_aa92d5c930d9b4c9dbbfcadda845c82d0}{
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
struct \{\\
\>oscap\_reporeter\_userdata\_t {\bfseries u1t}: 2\\
\>oscap\_reporeter\_userdata\_t {\bfseries u2t}: 2\\
\>oscap\_reporeter\_userdata\_t {\bfseries u3t}: 2\\
\} {\bfseries flags}}
\label{structoscap__reporter__message_aa92d5c930d9b4c9dbbfcadda845c82d0}
\\

\end{tabbing}\item 
\hypertarget{structoscap__reporter__message_ad94cfea16b9314ac5a0c3d4d23f9eadd}{
char $\ast$ {\bfseries string}}
\label{structoscap__reporter__message_ad94cfea16b9314ac5a0c3d4d23f9eadd}

\item 
\hypertarget{structoscap__reporter__message_aaf8919ffdf595897b48b8ba7a34a8438}{
union \hyperlink{unionoscap__reporter__userdata}{oscap\_\-reporter\_\-userdata} {\bfseries user1}}
\label{structoscap__reporter__message_aaf8919ffdf595897b48b8ba7a34a8438}

\item 
\hypertarget{structoscap__reporter__message_a6064ca27e49de860ef471e8ff2e8e7d9}{
union \hyperlink{unionoscap__reporter__userdata}{oscap\_\-reporter\_\-userdata} {\bfseries user2}}
\label{structoscap__reporter__message_a6064ca27e49de860ef471e8ff2e8e7d9}

\item 
\hypertarget{structoscap__reporter__message_ab0faca905985b4e2c44ce2afad401fc3}{
union \hyperlink{unionoscap__reporter__userdata}{oscap\_\-reporter\_\-userdata} {\bfseries user3}}
\label{structoscap__reporter__message_ab0faca905985b4e2c44ce2afad401fc3}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Represents a message to be reported. 

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