gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r34806 - in gnunet/src: include rps


From: gnunet
Subject: [GNUnet-SVN] r34806 - in gnunet/src: include rps
Date: Sat, 27 Dec 2014 13:32:03 +0100

Author: ch3
Date: 2014-12-27 13:32:03 +0100 (Sat, 27 Dec 2014)
New Revision: 34806

Modified:
   gnunet/src/include/gnunet_rps_service.h
   gnunet/src/rps/rps_api.c
Log:
fixed doxygen

Modified: gnunet/src/include/gnunet_rps_service.h
===================================================================
--- gnunet/src/include/gnunet_rps_service.h     2014-12-27 12:32:01 UTC (rev 
34805)
+++ gnunet/src/include/gnunet_rps_service.h     2014-12-27 12:32:03 UTC (rev 
34806)
@@ -106,6 +106,10 @@
 
 /**
  * Seed rps service with peerIDs.
+ *
+ * @param h handle to the rps service
+ * @param n number of peers to seed
+ * @param ids the ids of the peers seeded
  */
   void
 GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n,

Modified: gnunet/src/rps/rps_api.c
===================================================================
--- gnunet/src/rps/rps_api.c    2014-12-27 12:32:01 UTC (rev 34805)
+++ gnunet/src/rps/rps_api.c    2014-12-27 12:32:03 UTC (rev 34806)
@@ -201,6 +201,9 @@
 
 /**
  * Connect to the rps service
+ *
+ * @param cfg configuration to use
+ * @return a handle to the service
  */
   struct GNUNET_RPS_Handle *
 GNUNET_RPS_connect( const struct GNUNET_CONFIGURATION_Handle *cfg )
@@ -228,6 +231,12 @@
 
 /**
  * Request n random peers.
+ *
+ * @param h handle to the rps service
+ * @param n number of peers we want to receive
+ * @param ready_cb the callback called when the peers are available
+ * @param cls closure given to the callback
+ * @return a handle to cancel this request
  */
   struct GNUNET_RPS_Request_Handle *
 GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint64_t n,
@@ -257,6 +266,10 @@
 
 /**
  * Seed rps service with peerIDs.
+ *
+ * @param h handle to the rps service
+ * @param n number of peers to seed
+ * @param ids the ids of the peers seeded
  */
   void
 GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n,
@@ -266,6 +279,8 @@
 
 /**
  * Cancle an issued request.
+ *
+ * @param rh request handle of request to cancle
  */
   void
 GNUNET_RPS_request_cancel ( struct GNUNET_RPS_Request_Handle *rh )
@@ -274,7 +289,9 @@
 }
 
 /**
- * Disconnect to the rps service
+ * Disconnect from the rps service
+ *
+ * @param h the handle to the rps service
  */
   void
 GNUNET_RPS_disconnect ( struct GNUNET_RPS_Handle *h )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]