aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_rps_service.h
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-01-02 15:54:41 +0000
committerJulius Bünger <buenger@mytum.de>2015-01-02 15:54:41 +0000
commit168354abecc858a90c4db8363db78593b0c24a7b (patch)
treeb878fa7948b787ed645d639abcf2673cc57bfe11 /src/include/gnunet_rps_service.h
parentdea3f8afc5931e17a4cb9053883aaad374cd0412 (diff)
downloadgnunet-168354abecc858a90c4db8363db78593b0c24a7b.tar.gz
gnunet-168354abecc858a90c4db8363db78593b0c24a7b.zip
removed unneeded api call
Diffstat (limited to 'src/include/gnunet_rps_service.h')
-rw-r--r--src/include/gnunet_rps_service.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/include/gnunet_rps_service.h b/src/include/gnunet_rps_service.h
index b6d1cb71f..259fd1eca 100644
--- a/src/include/gnunet_rps_service.h
+++ b/src/include/gnunet_rps_service.h
@@ -59,24 +59,6 @@ struct GNUNET_RPS_Request_Handle;
59typedef void (* GNUNET_RPS_NotifyReadyCB) (void *cls, uint64_t num_peers, const struct GNUNET_PeerIdentity *peers); 59typedef void (* GNUNET_RPS_NotifyReadyCB) (void *cls, uint64_t num_peers, const struct GNUNET_PeerIdentity *peers);
60 60
61/** 61/**
62 * Request n random peers.
63 *
64 * This is a wrapper function that makes it unnecessary to have to
65 * (dis)connect from/to the service.
66 *
67 * @param cfg the configuration to use
68 * @param n number of peers to be returned
69 * @param ready_cb the callback to be called when the PeerIDs are available
70 * @param cls closure given to the callback
71 * @return handle to this request
72 */
73 struct GNUNET_RPS_Request_Handle *
74GNUNET_RPS_request_peers_single_call (const struct GNUNET_CONFIGURATION_Handle *cfg,
75 uint64_t n,
76 GNUNET_RPS_NotifyReadyCB ready_cb,
77 void *cls);
78
79/**
80 * Connect to the rps service 62 * Connect to the rps service
81 * 63 *
82 * @param cfg configuration to use 64 * @param cfg configuration to use