diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-04 09:11:11 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-04 09:11:11 +0000 |
commit | 6872f3488097476c4c883248859a6f710052104b (patch) | |
tree | 5a3fd1d6cd26e0596ef474e3a8e523e754d6e91a /src/include | |
parent | ee5c6167bceee4e9dfdb2456f050781b96ff0c41 (diff) | |
download | gnunet-6872f3488097476c4c883248859a6f710052104b.tar.gz gnunet-6872f3488097476c4c883248859a6f710052104b.zip |
doc
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_stream_lib.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/gnunet_stream_lib.h b/src/include/gnunet_stream_lib.h index b1518d9ba..47486d76b 100644 --- a/src/include/gnunet_stream_lib.h +++ b/src/include/gnunet_stream_lib.h | |||
@@ -349,9 +349,11 @@ typedef size_t (*GNUNET_STREAM_DataProcessor) (void *cls, | |||
349 | * @param proc function to call with data (once only) | 349 | * @param proc function to call with data (once only) |
350 | * @param proc_cls the closure for proc | 350 | * @param proc_cls the closure for proc |
351 | * | 351 | * |
352 | * @return handle to cancel the operation; if the stream has been shutdown for | 352 | * @return handle to cancel the operation; NULL is returned if: the stream has |
353 | * this type of opeartion then the DataProcessor is immediately | 353 | * been shutdown for this type of opeartion (the DataProcessor is |
354 | * called with GNUNET_STREAM_SHUTDOWN as status and NULL if returned | 354 | * immediately called with GNUNET_STREAM_SHUTDOWN as status) OR another |
355 | * read handle is present (only one read handle per socket is present | ||
356 | * at any time) | ||
355 | */ | 357 | */ |
356 | struct GNUNET_STREAM_IOReadHandle * | 358 | struct GNUNET_STREAM_IOReadHandle * |
357 | GNUNET_STREAM_read (struct GNUNET_STREAM_Socket *socket, | 359 | GNUNET_STREAM_read (struct GNUNET_STREAM_Socket *socket, |