diff options
Diffstat (limited to 'src/set/gnunet-service-set_union.h')
-rw-r--r-- | src/set/gnunet-service-set_union.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/src/set/gnunet-service-set_union.h b/src/set/gnunet-service-set_union.h index 5d9b8965a..b56d59ef9 100644 --- a/src/set/gnunet-service-set_union.h +++ b/src/set/gnunet-service-set_union.h | |||
@@ -12,12 +12,12 @@ | |||
12 | WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 | Affero General Public License for more details. | 14 | Affero General Public License for more details. |
15 | 15 | ||
16 | You should have received a copy of the GNU Affero General Public License | 16 | You should have received a copy of the GNU Affero General Public License |
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | ||
19 | SPDX-License-Identifier: AGPL3.0-or-later | 19 | SPDX-License-Identifier: AGPL3.0-or-later |
20 | */ | 20 | */ |
21 | /** | 21 | /** |
22 | * @file set/gnunet-service-set_union.h | 22 | * @file set/gnunet-service-set_union.h |
23 | * @brief two-peer set operations | 23 | * @brief two-peer set operations |
@@ -38,8 +38,8 @@ | |||
38 | * @param msg the message | 38 | * @param msg the message |
39 | */ | 39 | */ |
40 | int | 40 | int |
41 | check_union_p2p_strata_estimator (void *cls, | 41 | check_union_p2p_strata_estimator(void *cls, |
42 | const struct StrataEstimatorMessage *msg); | 42 | const struct StrataEstimatorMessage *msg); |
43 | 43 | ||
44 | 44 | ||
45 | /** | 45 | /** |
@@ -49,8 +49,8 @@ check_union_p2p_strata_estimator (void *cls, | |||
49 | * @param msg the message | 49 | * @param msg the message |
50 | */ | 50 | */ |
51 | void | 51 | void |
52 | handle_union_p2p_strata_estimator (void *cls, | 52 | handle_union_p2p_strata_estimator(void *cls, |
53 | const struct StrataEstimatorMessage *msg); | 53 | const struct StrataEstimatorMessage *msg); |
54 | 54 | ||
55 | 55 | ||
56 | /** | 56 | /** |
@@ -64,8 +64,8 @@ handle_union_p2p_strata_estimator (void *cls, | |||
64 | * @return #GNUNET_OK if @a msg is well-formed | 64 | * @return #GNUNET_OK if @a msg is well-formed |
65 | */ | 65 | */ |
66 | int | 66 | int |
67 | check_union_p2p_ibf (void *cls, | 67 | check_union_p2p_ibf(void *cls, |
68 | const struct IBFMessage *msg); | 68 | const struct IBFMessage *msg); |
69 | 69 | ||
70 | 70 | ||
71 | /** | 71 | /** |
@@ -78,8 +78,8 @@ check_union_p2p_ibf (void *cls, | |||
78 | * @param msg the header of the message | 78 | * @param msg the header of the message |
79 | */ | 79 | */ |
80 | void | 80 | void |
81 | handle_union_p2p_ibf (void *cls, | 81 | handle_union_p2p_ibf(void *cls, |
82 | const struct IBFMessage *msg); | 82 | const struct IBFMessage *msg); |
83 | 83 | ||
84 | 84 | ||
85 | /** | 85 | /** |
@@ -89,8 +89,8 @@ handle_union_p2p_ibf (void *cls, | |||
89 | * @param emsg the message | 89 | * @param emsg the message |
90 | */ | 90 | */ |
91 | int | 91 | int |
92 | check_union_p2p_elements (void *cls, | 92 | check_union_p2p_elements(void *cls, |
93 | const struct GNUNET_SET_ElementMessage *emsg); | 93 | const struct GNUNET_SET_ElementMessage *emsg); |
94 | 94 | ||
95 | 95 | ||
96 | /** | 96 | /** |
@@ -102,8 +102,8 @@ check_union_p2p_elements (void *cls, | |||
102 | * @param emsg the message | 102 | * @param emsg the message |
103 | */ | 103 | */ |
104 | void | 104 | void |
105 | handle_union_p2p_elements (void *cls, | 105 | handle_union_p2p_elements(void *cls, |
106 | const struct GNUNET_SET_ElementMessage *emsg); | 106 | const struct GNUNET_SET_ElementMessage *emsg); |
107 | 107 | ||
108 | 108 | ||
109 | /** | 109 | /** |
@@ -113,8 +113,8 @@ handle_union_p2p_elements (void *cls, | |||
113 | * @param emsg the message | 113 | * @param emsg the message |
114 | */ | 114 | */ |
115 | int | 115 | int |
116 | check_union_p2p_full_element (void *cls, | 116 | check_union_p2p_full_element(void *cls, |
117 | const struct GNUNET_SET_ElementMessage *emsg); | 117 | const struct GNUNET_SET_ElementMessage *emsg); |
118 | 118 | ||
119 | 119 | ||
120 | /** | 120 | /** |
@@ -124,8 +124,8 @@ check_union_p2p_full_element (void *cls, | |||
124 | * @param emsg the message | 124 | * @param emsg the message |
125 | */ | 125 | */ |
126 | void | 126 | void |
127 | handle_union_p2p_full_element (void *cls, | 127 | handle_union_p2p_full_element(void *cls, |
128 | const struct GNUNET_SET_ElementMessage *emsg); | 128 | const struct GNUNET_SET_ElementMessage *emsg); |
129 | 129 | ||
130 | 130 | ||
131 | /** | 131 | /** |
@@ -136,8 +136,8 @@ handle_union_p2p_full_element (void *cls, | |||
136 | * @param msg the message | 136 | * @param msg the message |
137 | */ | 137 | */ |
138 | int | 138 | int |
139 | check_union_p2p_inquiry (void *cls, | 139 | check_union_p2p_inquiry(void *cls, |
140 | const struct InquiryMessage *msg); | 140 | const struct InquiryMessage *msg); |
141 | 141 | ||
142 | 142 | ||
143 | /** | 143 | /** |
@@ -148,8 +148,8 @@ check_union_p2p_inquiry (void *cls, | |||
148 | * @param msg the message | 148 | * @param msg the message |
149 | */ | 149 | */ |
150 | void | 150 | void |
151 | handle_union_p2p_inquiry (void *cls, | 151 | handle_union_p2p_inquiry(void *cls, |
152 | const struct InquiryMessage *msg); | 152 | const struct InquiryMessage *msg); |
153 | 153 | ||
154 | 154 | ||
155 | 155 | ||
@@ -160,8 +160,8 @@ handle_union_p2p_inquiry (void *cls, | |||
160 | * @param mh the demand message | 160 | * @param mh the demand message |
161 | */ | 161 | */ |
162 | void | 162 | void |
163 | handle_union_p2p_request_full (void *cls, | 163 | handle_union_p2p_request_full(void *cls, |
164 | const struct GNUNET_MessageHeader *mh); | 164 | const struct GNUNET_MessageHeader *mh); |
165 | 165 | ||
166 | 166 | ||
167 | 167 | ||
@@ -172,8 +172,8 @@ handle_union_p2p_request_full (void *cls, | |||
172 | * @param mh the demand message | 172 | * @param mh the demand message |
173 | */ | 173 | */ |
174 | void | 174 | void |
175 | handle_union_p2p_full_done (void *cls, | 175 | handle_union_p2p_full_done(void *cls, |
176 | const struct GNUNET_MessageHeader *mh); | 176 | const struct GNUNET_MessageHeader *mh); |
177 | 177 | ||
178 | 178 | ||
179 | /** | 179 | /** |
@@ -185,8 +185,8 @@ handle_union_p2p_full_done (void *cls, | |||
185 | * @return #GNUNET_OK if @a mh is well-formed | 185 | * @return #GNUNET_OK if @a mh is well-formed |
186 | */ | 186 | */ |
187 | int | 187 | int |
188 | check_union_p2p_demand (void *cls, | 188 | check_union_p2p_demand(void *cls, |
189 | const struct GNUNET_MessageHeader *mh); | 189 | const struct GNUNET_MessageHeader *mh); |
190 | 190 | ||
191 | 191 | ||
192 | /** | 192 | /** |
@@ -197,8 +197,8 @@ check_union_p2p_demand (void *cls, | |||
197 | * @param mh the demand message | 197 | * @param mh the demand message |
198 | */ | 198 | */ |
199 | void | 199 | void |
200 | handle_union_p2p_demand (void *cls, | 200 | handle_union_p2p_demand(void *cls, |
201 | const struct GNUNET_MessageHeader *mh); | 201 | const struct GNUNET_MessageHeader *mh); |
202 | 202 | ||
203 | 203 | ||
204 | /** | 204 | /** |
@@ -209,8 +209,8 @@ handle_union_p2p_demand (void *cls, | |||
209 | * @return #GNUNET_OK if @a mh is well-formed | 209 | * @return #GNUNET_OK if @a mh is well-formed |
210 | */ | 210 | */ |
211 | int | 211 | int |
212 | check_union_p2p_offer (void *cls, | 212 | check_union_p2p_offer(void *cls, |
213 | const struct GNUNET_MessageHeader *mh); | 213 | const struct GNUNET_MessageHeader *mh); |
214 | 214 | ||
215 | 215 | ||
216 | /** | 216 | /** |
@@ -221,8 +221,8 @@ check_union_p2p_offer (void *cls, | |||
221 | * @param mh the message | 221 | * @param mh the message |
222 | */ | 222 | */ |
223 | void | 223 | void |
224 | handle_union_p2p_offer (void *cls, | 224 | handle_union_p2p_offer(void *cls, |
225 | const struct GNUNET_MessageHeader *mh); | 225 | const struct GNUNET_MessageHeader *mh); |
226 | 226 | ||
227 | 227 | ||
228 | /** | 228 | /** |
@@ -232,8 +232,8 @@ handle_union_p2p_offer (void *cls, | |||
232 | * @param mh the message | 232 | * @param mh the message |
233 | */ | 233 | */ |
234 | void | 234 | void |
235 | handle_union_p2p_done (void *cls, | 235 | handle_union_p2p_done(void *cls, |
236 | const struct GNUNET_MessageHeader *mh); | 236 | const struct GNUNET_MessageHeader *mh); |
237 | 237 | ||
238 | /** | 238 | /** |
239 | * Handle an over message from a remote peer | 239 | * Handle an over message from a remote peer |
@@ -242,8 +242,8 @@ handle_union_p2p_done (void *cls, | |||
242 | * @param mh the message | 242 | * @param mh the message |
243 | */ | 243 | */ |
244 | void | 244 | void |
245 | handle_union_p2p_over (void *cls, | 245 | handle_union_p2p_over(void *cls, |
246 | const struct GNUNET_MessageHeader *mh); | 246 | const struct GNUNET_MessageHeader *mh); |
247 | 247 | ||
248 | 248 | ||
249 | #endif | 249 | #endif |