fixed missing doc comment
authorSree Harsha Totakura <totakura@in.tum.de>
Fri, 9 Dec 2011 15:57:56 +0000 (15:57 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Fri, 9 Dec 2011 15:57:56 +0000 (15:57 +0000)
src/include/gnunet_stream_lib.h

index f6935075aa78a36b15e9f0e2cb2b7d55e6ba4b12..b06f3f5647cf9543f81fd8b1c4958cb2a24c8b76 100644 (file)
@@ -152,10 +152,13 @@ GNUNET_STREAM_write (const struct GNUNET_STREAM_socket *socket,
  *
  * @param socket the socket representing a stream
  * @param buffer the buffer into which the read data is stored
-
- * @return 
+ * @param size the number of bytes that are to be read
+ * @param read_cb the completion callback function which is called after
+ *            attempting to read size number of bytes from the stream
+ * @param timeout the timeout period
+ * @param cls the closure
  */
-size_t
+void
 GNUNET_STREAM_read (const struct GNUNET_STREAM_socket *socket,
                     void *buffer,
                     size_t size,