aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set_union.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/set/gnunet-service-set_union.h')
-rw-r--r--src/set/gnunet-service-set_union.h73
1 files changed, 36 insertions, 37 deletions
diff --git a/src/set/gnunet-service-set_union.h b/src/set/gnunet-service-set_union.h
index b56d59ef9..5da5b7254 100644
--- a/src/set/gnunet-service-set_union.h
+++ b/src/set/gnunet-service-set_union.h
@@ -1,4 +1,3 @@
1
2/* 1/*
3 This file is part of GNUnet 2 This file is part of GNUnet
4 Copyright (C) 2013-2017 GNUnet e.V. 3 Copyright (C) 2013-2017 GNUnet e.V.
@@ -38,8 +37,8 @@
38 * @param msg the message 37 * @param msg the message
39 */ 38 */
40int 39int
41check_union_p2p_strata_estimator(void *cls, 40check_union_p2p_strata_estimator (void *cls,
42 const struct StrataEstimatorMessage *msg); 41 const struct StrataEstimatorMessage *msg);
43 42
44 43
45/** 44/**
@@ -49,8 +48,8 @@ check_union_p2p_strata_estimator(void *cls,
49 * @param msg the message 48 * @param msg the message
50 */ 49 */
51void 50void
52handle_union_p2p_strata_estimator(void *cls, 51handle_union_p2p_strata_estimator (void *cls,
53 const struct StrataEstimatorMessage *msg); 52 const struct StrataEstimatorMessage *msg);
54 53
55 54
56/** 55/**
@@ -64,8 +63,8 @@ handle_union_p2p_strata_estimator(void *cls,
64 * @return #GNUNET_OK if @a msg is well-formed 63 * @return #GNUNET_OK if @a msg is well-formed
65 */ 64 */
66int 65int
67check_union_p2p_ibf(void *cls, 66check_union_p2p_ibf (void *cls,
68 const struct IBFMessage *msg); 67 const struct IBFMessage *msg);
69 68
70 69
71/** 70/**
@@ -78,8 +77,8 @@ check_union_p2p_ibf(void *cls,
78 * @param msg the header of the message 77 * @param msg the header of the message
79 */ 78 */
80void 79void
81handle_union_p2p_ibf(void *cls, 80handle_union_p2p_ibf (void *cls,
82 const struct IBFMessage *msg); 81 const struct IBFMessage *msg);
83 82
84 83
85/** 84/**
@@ -89,8 +88,8 @@ handle_union_p2p_ibf(void *cls,
89 * @param emsg the message 88 * @param emsg the message
90 */ 89 */
91int 90int
92check_union_p2p_elements(void *cls, 91check_union_p2p_elements (void *cls,
93 const struct GNUNET_SET_ElementMessage *emsg); 92 const struct GNUNET_SET_ElementMessage *emsg);
94 93
95 94
96/** 95/**
@@ -102,8 +101,8 @@ check_union_p2p_elements(void *cls,
102 * @param emsg the message 101 * @param emsg the message
103 */ 102 */
104void 103void
105handle_union_p2p_elements(void *cls, 104handle_union_p2p_elements (void *cls,
106 const struct GNUNET_SET_ElementMessage *emsg); 105 const struct GNUNET_SET_ElementMessage *emsg);
107 106
108 107
109/** 108/**
@@ -113,8 +112,8 @@ handle_union_p2p_elements(void *cls,
113 * @param emsg the message 112 * @param emsg the message
114 */ 113 */
115int 114int
116check_union_p2p_full_element(void *cls, 115check_union_p2p_full_element (void *cls,
117 const struct GNUNET_SET_ElementMessage *emsg); 116 const struct GNUNET_SET_ElementMessage *emsg);
118 117
119 118
120/** 119/**
@@ -124,8 +123,8 @@ check_union_p2p_full_element(void *cls,
124 * @param emsg the message 123 * @param emsg the message
125 */ 124 */
126void 125void
127handle_union_p2p_full_element(void *cls, 126handle_union_p2p_full_element (void *cls,
128 const struct GNUNET_SET_ElementMessage *emsg); 127 const struct GNUNET_SET_ElementMessage *emsg);
129 128
130 129
131/** 130/**
@@ -136,8 +135,8 @@ handle_union_p2p_full_element(void *cls,
136 * @param msg the message 135 * @param msg the message
137 */ 136 */
138int 137int
139check_union_p2p_inquiry(void *cls, 138check_union_p2p_inquiry (void *cls,
140 const struct InquiryMessage *msg); 139 const struct InquiryMessage *msg);
141 140
142 141
143/** 142/**
@@ -148,8 +147,8 @@ check_union_p2p_inquiry(void *cls,
148 * @param msg the message 147 * @param msg the message
149 */ 148 */
150void 149void
151handle_union_p2p_inquiry(void *cls, 150handle_union_p2p_inquiry (void *cls,
152 const struct InquiryMessage *msg); 151 const struct InquiryMessage *msg);
153 152
154 153
155 154
@@ -160,8 +159,8 @@ handle_union_p2p_inquiry(void *cls,
160 * @param mh the demand message 159 * @param mh the demand message
161 */ 160 */
162void 161void
163handle_union_p2p_request_full(void *cls, 162handle_union_p2p_request_full (void *cls,
164 const struct GNUNET_MessageHeader *mh); 163 const struct GNUNET_MessageHeader *mh);
165 164
166 165
167 166
@@ -172,8 +171,8 @@ handle_union_p2p_request_full(void *cls,
172 * @param mh the demand message 171 * @param mh the demand message
173 */ 172 */
174void 173void
175handle_union_p2p_full_done(void *cls, 174handle_union_p2p_full_done (void *cls,
176 const struct GNUNET_MessageHeader *mh); 175 const struct GNUNET_MessageHeader *mh);
177 176
178 177
179/** 178/**
@@ -185,8 +184,8 @@ handle_union_p2p_full_done(void *cls,
185 * @return #GNUNET_OK if @a mh is well-formed 184 * @return #GNUNET_OK if @a mh is well-formed
186 */ 185 */
187int 186int
188check_union_p2p_demand(void *cls, 187check_union_p2p_demand (void *cls,
189 const struct GNUNET_MessageHeader *mh); 188 const struct GNUNET_MessageHeader *mh);
190 189
191 190
192/** 191/**
@@ -197,8 +196,8 @@ check_union_p2p_demand(void *cls,
197 * @param mh the demand message 196 * @param mh the demand message
198 */ 197 */
199void 198void
200handle_union_p2p_demand(void *cls, 199handle_union_p2p_demand (void *cls,
201 const struct GNUNET_MessageHeader *mh); 200 const struct GNUNET_MessageHeader *mh);
202 201
203 202
204/** 203/**
@@ -209,8 +208,8 @@ handle_union_p2p_demand(void *cls,
209 * @return #GNUNET_OK if @a mh is well-formed 208 * @return #GNUNET_OK if @a mh is well-formed
210 */ 209 */
211int 210int
212check_union_p2p_offer(void *cls, 211check_union_p2p_offer (void *cls,
213 const struct GNUNET_MessageHeader *mh); 212 const struct GNUNET_MessageHeader *mh);
214 213
215 214
216/** 215/**
@@ -221,8 +220,8 @@ check_union_p2p_offer(void *cls,
221 * @param mh the message 220 * @param mh the message
222 */ 221 */
223void 222void
224handle_union_p2p_offer(void *cls, 223handle_union_p2p_offer (void *cls,
225 const struct GNUNET_MessageHeader *mh); 224 const struct GNUNET_MessageHeader *mh);
226 225
227 226
228/** 227/**
@@ -232,8 +231,8 @@ handle_union_p2p_offer(void *cls,
232 * @param mh the message 231 * @param mh the message
233 */ 232 */
234void 233void
235handle_union_p2p_done(void *cls, 234handle_union_p2p_done (void *cls,
236 const struct GNUNET_MessageHeader *mh); 235 const struct GNUNET_MessageHeader *mh);
237 236
238/** 237/**
239 * Handle an over message from a remote peer 238 * Handle an over message from a remote peer
@@ -242,8 +241,8 @@ handle_union_p2p_done(void *cls,
242 * @param mh the message 241 * @param mh the message
243 */ 242 */
244void 243void
245handle_union_p2p_over(void *cls, 244handle_union_p2p_over (void *cls,
246 const struct GNUNET_MessageHeader *mh); 245 const struct GNUNET_MessageHeader *mh);
247 246
248 247
249#endif 248#endif