[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31196 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31196 - gnunet/src/transport |
Date: |
Mon, 9 Dec 2013 00:19:15 +0100 |
Author: grothoff
Date: 2013-12-09 00:19:15 +0100 (Mon, 09 Dec 2013)
New Revision: 31196
Modified:
gnunet/src/transport/transport_api.c
Log:
-cleanup
Modified: gnunet/src/transport/transport_api.c
===================================================================
--- gnunet/src/transport/transport_api.c 2013-12-08 23:16:48 UTC (rev
31195)
+++ gnunet/src/transport/transport_api.c 2013-12-08 23:19:15 UTC (rev
31196)
@@ -481,7 +481,7 @@
/**
* Function we use for handling incoming messages.
*
- * @param cls closure (struct GNUNET_TRANSPORT_Handle *)
+ * @param cls closure, a `struct GNUNET_TRANSPORT_Handle *`
* @param msg message received, NULL on timeout or fatal error
*/
static void
@@ -714,9 +714,9 @@
* Transmit message(s) to service.
*
* @param cls handle to transport
- * @param size number of bytes available in buf
+ * @param size number of bytes available in @a buf
* @param buf where to copy the message
- * @return number of bytes copied to buf
+ * @return number of bytes copied to @a buf
*/
static size_t
transport_notify_ready (void *cls, size_t size, void *buf)
@@ -746,7 +746,8 @@
{
GNUNET_CONTAINER_DLL_remove (h->control_head, h->control_tail, th);
nret = th->notify (th->notify_cls, size, &cbuf[ret]);
- LOG (GNUNET_ERROR_TYPE_DEBUG, "Added %u bytes of control message at %u\n",
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Added %u bytes of control message at %u\n",
nret, ret);
GNUNET_free (th);
ret += nret;
@@ -913,7 +914,7 @@
* @param h handle to the transport service
* @param size number of bytes to be transmitted
* @param notify function to call to get the content
- * @param notify_cls closure for notify
+ * @param notify_cls closure for @a notify
* @return a `struct GNUNET_TRANSPORT_TransmitHandle`
*/
static struct GNUNET_TRANSPORT_TransmitHandle *
@@ -940,9 +941,9 @@
* Transmit START message to service.
*
* @param cls unused
- * @param size number of bytes available in buf
+ * @param size number of bytes available in @a buf
* @param buf where to copy the message
- * @return number of bytes copied to buf
+ * @return number of bytes copied to @a buf
*/
static size_t
send_start (void *cls, size_t size, void *buf)
@@ -1384,7 +1385,7 @@
*/
int
GNUNET_TRANSPORT_check_peer_connected (struct GNUNET_TRANSPORT_Handle *handle,
- const struct GNUNET_PeerIdentity
*peer)
+ const struct GNUNET_PeerIdentity *peer)
{
if (GNUNET_YES ==
GNUNET_CONTAINER_multipeermap_contains (handle->neighbours,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31196 - gnunet/src/transport,
gnunet <=