diff options
author | jospaeth <spaethj@in.tum.de> | 2020-08-03 17:50:14 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-08-03 17:50:14 +0200 |
commit | aaf439f8ca0dfb6ae503e3e4f7545c98f4e43d5a (patch) | |
tree | b91c876d02bad573072c422896ba935dcb4ba666 /src/include/gnunet_escrow_lib.h | |
parent | 2822c5af3ef8f29ac2b5727ee3c13c6338852e58 (diff) | |
download | gnunet-aaf439f8ca0dfb6ae503e3e4f7545c98f4e43d5a.tar.gz gnunet-aaf439f8ca0dfb6ae503e3e4f7545c98f4e43d5a.zip |
minor fixes, test structure
Diffstat (limited to 'src/include/gnunet_escrow_lib.h')
-rw-r--r-- | src/include/gnunet_escrow_lib.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/include/gnunet_escrow_lib.h b/src/include/gnunet_escrow_lib.h index 10b7df886..564c457b9 100644 --- a/src/include/gnunet_escrow_lib.h +++ b/src/include/gnunet_escrow_lib.h | |||
@@ -200,11 +200,6 @@ struct GNUNET_ESCROW_Operation | |||
200 | * Continuation for a VERIFY operation. | 200 | * Continuation for a VERIFY operation. |
201 | */ | 201 | */ |
202 | GNUNET_ESCROW_VerifyContinuation cb_verify; | 202 | GNUNET_ESCROW_VerifyContinuation cb_verify; |
203 | |||
204 | /** | ||
205 | * Closure for a callback. | ||
206 | */ | ||
207 | void *cb_cls; | ||
208 | }; | 203 | }; |
209 | 204 | ||
210 | 205 | ||
@@ -237,7 +232,6 @@ GNUNET_ESCROW_fini ( | |||
237 | * @param ego the identity ego to put in escrow | 232 | * @param ego the identity ego to put in escrow |
238 | * @param method the escrow method to use | 233 | * @param method the escrow method to use |
239 | * @param cb function to call with the escrow anchor on completion | 234 | * @param cb function to call with the escrow anchor on completion |
240 | * @param cb_cls closure for @a cb | ||
241 | * | 235 | * |
242 | * @return handle to abort the operation | 236 | * @return handle to abort the operation |
243 | */ | 237 | */ |
@@ -246,8 +240,7 @@ GNUNET_ESCROW_put ( | |||
246 | struct GNUNET_ESCROW_Handle *h, | 240 | struct GNUNET_ESCROW_Handle *h, |
247 | const struct GNUNET_IDENTITY_Ego *ego, | 241 | const struct GNUNET_IDENTITY_Ego *ego, |
248 | enum GNUNET_ESCROW_Key_Escrow_Method method, | 242 | enum GNUNET_ESCROW_Key_Escrow_Method method, |
249 | GNUNET_ESCROW_AnchorContinuation cb, | 243 | GNUNET_ESCROW_AnchorContinuation cb); |
250 | void *cb_cls); | ||
251 | 244 | ||
252 | 245 | ||
253 | /** | 246 | /** |
@@ -258,7 +251,6 @@ GNUNET_ESCROW_put ( | |||
258 | * @param egoName the name of the ego to get back | 251 | * @param egoName the name of the ego to get back |
259 | * @param method the escrow method to use | 252 | * @param method the escrow method to use |
260 | * @param cb function to call with the restored ego on completion | 253 | * @param cb function to call with the restored ego on completion |
261 | * @param cb_cls closure for @a cb | ||
262 | * | 254 | * |
263 | * @return handle to abort the operation | 255 | * @return handle to abort the operation |
264 | */ | 256 | */ |
@@ -268,8 +260,7 @@ GNUNET_ESCROW_get ( | |||
268 | struct GNUNET_ESCROW_Anchor *escrowAnchor, | 260 | struct GNUNET_ESCROW_Anchor *escrowAnchor, |
269 | char *egoName, | 261 | char *egoName, |
270 | enum GNUNET_ESCROW_Key_Escrow_Method method, | 262 | enum GNUNET_ESCROW_Key_Escrow_Method method, |
271 | GNUNET_ESCROW_EgoContinuation cb, | 263 | GNUNET_ESCROW_EgoContinuation cb); |
272 | void *cb_cls); | ||
273 | 264 | ||
274 | 265 | ||
275 | /** | 266 | /** |
@@ -280,7 +271,6 @@ GNUNET_ESCROW_get ( | |||
280 | * @param escrowAnchor the escrow anchor returned by the GNUNET_ESCROW_put method | 271 | * @param escrowAnchor the escrow anchor returned by the GNUNET_ESCROW_put method |
281 | * @param method the escrow method to use | 272 | * @param method the escrow method to use |
282 | * @param cb function to call with the verification result on completion | 273 | * @param cb function to call with the verification result on completion |
283 | * @param cb_cls closure for @a cb | ||
284 | * | 274 | * |
285 | * @return handle to abort the operation | 275 | * @return handle to abort the operation |
286 | */ | 276 | */ |
@@ -290,8 +280,7 @@ GNUNET_ESCROW_verify ( | |||
290 | const struct GNUNET_IDENTITY_Ego *ego, | 280 | const struct GNUNET_IDENTITY_Ego *ego, |
291 | struct GNUNET_ESCROW_Anchor *escrowAnchor, | 281 | struct GNUNET_ESCROW_Anchor *escrowAnchor, |
292 | enum GNUNET_ESCROW_Key_Escrow_Method method, | 282 | enum GNUNET_ESCROW_Key_Escrow_Method method, |
293 | GNUNET_ESCROW_VerifyContinuation cb, | 283 | GNUNET_ESCROW_VerifyContinuation cb); |
294 | void *cb_cls); | ||
295 | 284 | ||
296 | 285 | ||
297 | /** | 286 | /** |