aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-02 20:13:57 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-02 20:13:57 +0200
commitfd9b241cafa715b0da84cdd03f53387082b373f7 (patch)
tree6a964a8c3b34c466a05f6743202dd60151b47e8d /src/include/gnunet_common.h
parent79fa977314009e631112918cce3eb0f0d5f296d7 (diff)
downloadgnunet-fd9b241cafa715b0da84cdd03f53387082b373f7.tar.gz
gnunet-fd9b241cafa715b0da84cdd03f53387082b373f7.zip
try to fix #6419:
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r--src/include/gnunet_common.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 34f419a49..68993b51d 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -345,7 +345,9 @@ struct GNUNET_AsyncScopeSave
345 * #GNUNET_NO to stop iteration with no error, 345 * #GNUNET_NO to stop iteration with no error,
346 * #GNUNET_SYSERR to abort iteration with error! 346 * #GNUNET_SYSERR to abort iteration with error!
347 */ 347 */
348typedef int (*GNUNET_FileNameCallback) (void *cls, const char *filename); 348typedef int
349(*GNUNET_FileNameCallback) (void *cls,
350 const char *filename);
349 351
350 352
351/** 353/**
@@ -353,7 +355,8 @@ typedef int (*GNUNET_FileNameCallback) (void *cls, const char *filename);
353 * 355 *
354 * @param cls Closure. 356 * @param cls Closure.
355 */ 357 */
356typedef void (*GNUNET_ContinuationCallback) (void *cls); 358typedef void
359(*GNUNET_ContinuationCallback) (void *cls);
357 360
358 361
359/** 362/**
@@ -368,10 +371,11 @@ typedef void (*GNUNET_ContinuationCallback) (void *cls);
368 * @param data_size 371 * @param data_size
369 * Size of @a data. 372 * Size of @a data.
370 */ 373 */
371typedef void (*GNUNET_ResultCallback) (void *cls, 374typedef void
372 int64_t result_code, 375(*GNUNET_ResultCallback) (void *cls,
373 const void *data, 376 int64_t result_code,
374 uint16_t data_size); 377 const void *data,
378 uint16_t data_size);
375 379
376 380
377/* ****************************** logging ***************************** */ 381/* ****************************** logging ***************************** */