gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r34804 - in gnunet/src: include rps
Date: Sat, 27 Dec 2014 13:31:59 +0100

Author: ch3
Date: 2014-12-27 13:31:59 +0100 (Sat, 27 Dec 2014)
New Revision: 34804

Modified:
   gnunet/src/include/gnunet_rps_service.h
   gnunet/src/rps/rps_api.c
Log:
added seeding function to the api

Modified: gnunet/src/include/gnunet_rps_service.h
===================================================================
--- gnunet/src/include/gnunet_rps_service.h     2014-12-27 12:31:57 UTC (rev 
34803)
+++ gnunet/src/include/gnunet_rps_service.h     2014-12-27 12:31:59 UTC (rev 
34804)
@@ -105,6 +105,13 @@
                           void *cls);
 
 /**
+ * Seed rps service with peerIDs.
+ */
+  void
+GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n,
+                     struct GNUNET_PeerIdentity * ids);
+
+/**
  * Cancle an issued request.
  *
  * @param rh handle of the pending request to be canceled

Modified: gnunet/src/rps/rps_api.c
===================================================================
--- gnunet/src/rps/rps_api.c    2014-12-27 12:31:57 UTC (rev 34803)
+++ gnunet/src/rps/rps_api.c    2014-12-27 12:31:59 UTC (rev 34804)
@@ -256,6 +256,15 @@
 }
 
 /**
+ * Seed rps service with peerIDs.
+ */
+  void
+GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n,
+                     struct GNUNET_PeerIdentity * ids)
+{
+}
+
+/**
  * Cancle an issued request.
  */
   void




reply via email to

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