diff options
Diffstat (limited to 'src/include/gnunet_stream_lib.h')
-rw-r--r-- | src/include/gnunet_stream_lib.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/gnunet_stream_lib.h b/src/include/gnunet_stream_lib.h index f6935075a..b06f3f564 100644 --- a/src/include/gnunet_stream_lib.h +++ b/src/include/gnunet_stream_lib.h | |||
@@ -152,10 +152,13 @@ GNUNET_STREAM_write (const struct GNUNET_STREAM_socket *socket, | |||
152 | * | 152 | * |
153 | * @param socket the socket representing a stream | 153 | * @param socket the socket representing a stream |
154 | * @param buffer the buffer into which the read data is stored | 154 | * @param buffer the buffer into which the read data is stored |
155 | 155 | * @param size the number of bytes that are to be read | |
156 | * @return | 156 | * @param read_cb the completion callback function which is called after |
157 | * attempting to read size number of bytes from the stream | ||
158 | * @param timeout the timeout period | ||
159 | * @param cls the closure | ||
157 | */ | 160 | */ |
158 | size_t | 161 | void |
159 | GNUNET_STREAM_read (const struct GNUNET_STREAM_socket *socket, | 162 | GNUNET_STREAM_read (const struct GNUNET_STREAM_socket *socket, |
160 | void *buffer, | 163 | void *buffer, |
161 | size_t size, | 164 | size_t size, |