aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cadet/gnunet-cadet.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c
index a08c178f4..c194a5bc1 100644
--- a/src/cadet/gnunet-cadet.c
+++ b/src/cadet/gnunet-cadet.c
@@ -381,14 +381,10 @@ request_dump (void *cls)
381 381
382 382
383/** 383/**
384 * Function called whenever a message is received. 384 * Check data message sanity. Does nothing so far (all messages are OK).
385 * 385 *
386 * Each time the function must call #GNUNET_CADET_receive_done on the channel 386 * @param cls Closure (unused).
387 * in order to receive the next message. This doesn't need to be immediate: 387 * @param message The message to check.
388 * can be delayed if some processing is done on the message.
389 *
390 * @param cls should match #ch
391 * @param message The actual message.
392 * @return #GNUNET_OK to keep the channel open, 388 * @return #GNUNET_OK to keep the channel open,
393 * #GNUNET_SYSERR to close it (signal serious error). 389 * #GNUNET_SYSERR to close it (signal serious error).
394 */ 390 */