diff options
Diffstat (limited to 'src/include/gnunet_rps_service.h')
-rw-r--r-- | src/include/gnunet_rps_service.h | 18 |
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; | |||
59 | typedef void (* GNUNET_RPS_NotifyReadyCB) (void *cls, uint64_t num_peers, const struct GNUNET_PeerIdentity *peers); | 59 | typedef 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 * | ||
74 | GNUNET_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 |