gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 02/03: RPS API: Add API calls to rps header


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/03: RPS API: Add API calls to rps header
Date: Thu, 11 Oct 2018 16:36:36 +0200

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

commit 70bdd2cc27981f415ee80cb44cc31ec99b12bc00
Author: Julius Bünger <address@hidden>
AuthorDate: Thu Oct 11 16:34:46 2018 +0200

    RPS API: Add API calls to rps header
---
 src/include/gnunet_rps_service.h | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/src/include/gnunet_rps_service.h b/src/include/gnunet_rps_service.h
index f77c3dbc4..7fdfe491e 100644
--- a/src/include/gnunet_rps_service.h
+++ b/src/include/gnunet_rps_service.h
@@ -73,6 +73,29 @@ typedef void (* GNUNET_RPS_NotifyReadyCB) (void *cls,
   struct GNUNET_RPS_Handle *
 GNUNET_RPS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg);
 
+
+/**
+ * @brief Start a sub with the given shared value
+ *
+ * @param h Handle to rps
+ * @param shared_value The shared value that defines the members of the sub 
(-gorup)
+ */
+void
+GNUNET_RPS_sub_start (struct GNUNET_RPS_Handle *h,
+                      const char *shared_value);
+
+
+/**
+ * @brief Stop a sub with the given shared value
+ *
+ * @param h Handle to rps
+ * @param shared_value The shared value that defines the members of the sub 
(-gorup)
+ */
+void
+GNUNET_RPS_sub_stop (struct GNUNET_RPS_Handle *h,
+                     const char *shared_value);
+
+
 /**
  * Request n random peers.
  *
@@ -170,6 +193,15 @@ GNUNET_RPS_stream_request (struct GNUNET_RPS_Handle 
*rps_handle,
 
 
 /**
+ * @brief Cancel a specific request for updates from the biased peer stream
+ *
+ * @param srh The request handle to cancel
+ */
+void
+GNUNET_RPS_stream_cancel (struct GNUNET_RPS_StreamRequestHandle *srh);
+
+
+/**
  * Disconnect from the rps service
  *
  * @param h the handle to the rps service

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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