diff options
author | Bart Polot <bart.polot+gnunet@gmail.com> | 2017-02-20 19:21:21 +0100 |
---|---|---|
committer | Bart Polot <bart.polot+gnunet@gmail.com> | 2017-02-20 19:21:21 +0100 |
commit | 94cf985aff9d02cded27a9739c2836cc741400f3 (patch) | |
tree | 1165a94e74548dd5b7124625fc716ecfdf271fc1 /src/cadet/gnunet-cadet.c | |
parent | 95737e2443cacc12d0b3076c72aa35d9c80ca2a0 (diff) | |
download | gnunet-94cf985aff9d02cded27a9739c2836cc741400f3.tar.gz gnunet-94cf985aff9d02cded27a9739c2836cc741400f3.zip |
- doxygen
Diffstat (limited to 'src/cadet/gnunet-cadet.c')
-rw-r--r-- | src/cadet/gnunet-cadet.c | 10 |
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 | */ |