diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/set/gnunet-service-set_union.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/set/gnunet-service-set_union.h')
-rw-r--r-- | src/set/gnunet-service-set_union.h | 73 |
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 | */ |
40 | int | 39 | int |
41 | check_union_p2p_strata_estimator(void *cls, | 40 | check_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 | */ |
51 | void | 50 | void |
52 | handle_union_p2p_strata_estimator(void *cls, | 51 | handle_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 | */ |
66 | int | 65 | int |
67 | check_union_p2p_ibf(void *cls, | 66 | check_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 | */ |
80 | void | 79 | void |
81 | handle_union_p2p_ibf(void *cls, | 80 | handle_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 | */ |
91 | int | 90 | int |
92 | check_union_p2p_elements(void *cls, | 91 | check_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 | */ |
104 | void | 103 | void |
105 | handle_union_p2p_elements(void *cls, | 104 | handle_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 | */ |
115 | int | 114 | int |
116 | check_union_p2p_full_element(void *cls, | 115 | check_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 | */ |
126 | void | 125 | void |
127 | handle_union_p2p_full_element(void *cls, | 126 | handle_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 | */ |
138 | int | 137 | int |
139 | check_union_p2p_inquiry(void *cls, | 138 | check_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 | */ |
150 | void | 149 | void |
151 | handle_union_p2p_inquiry(void *cls, | 150 | handle_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 | */ |
162 | void | 161 | void |
163 | handle_union_p2p_request_full(void *cls, | 162 | handle_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 | */ |
174 | void | 173 | void |
175 | handle_union_p2p_full_done(void *cls, | 174 | handle_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 | */ |
187 | int | 186 | int |
188 | check_union_p2p_demand(void *cls, | 187 | check_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 | */ |
199 | void | 198 | void |
200 | handle_union_p2p_demand(void *cls, | 199 | handle_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 | */ |
211 | int | 210 | int |
212 | check_union_p2p_offer(void *cls, | 211 | check_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 | */ |
223 | void | 222 | void |
224 | handle_union_p2p_offer(void *cls, | 223 | handle_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 | */ |
234 | void | 233 | void |
235 | handle_union_p2p_done(void *cls, | 234 | handle_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 | */ |
244 | void | 243 | void |
245 | handle_union_p2p_over(void *cls, | 244 | handle_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 |