diff options
author | Julius Bünger <buenger@mytum.de> | 2014-12-14 21:48:00 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2014-12-14 21:48:00 +0000 |
commit | 6a74800a488adf754645249267e93e6c82d22219 (patch) | |
tree | 6e9313db06c581a88f5a440239a662d5dcfbbb6b /src/include/gnunet_rps_service.h | |
parent | a8e5b09df9ce6f090ab4ecfde02fc7ab3b667c13 (diff) |
before deleting PeerList
Signed-off-by: Julius Bünger <buenger@mytum.de>
Diffstat (limited to 'src/include/gnunet_rps_service.h')
-rw-r--r-- | src/include/gnunet_rps_service.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_rps_service.h b/src/include/gnunet_rps_service.h index dc822b8f17..3a3b2cbad4 100644 --- a/src/include/gnunet_rps_service.h +++ b/src/include/gnunet_rps_service.h @@ -41,6 +41,12 @@ extern "C" typedef void (* GNUNET_RPS_NotifyReadyCB) (void *cls, uint64_t num_peers, struct GNUNET_PeerIdentity *peers); +/** + * Request n random peers. + * + * This is a wrapper function that makes it useless to have to + * (dis)connect from/to the service. + */ struct GNUNET_RPS_Request_Handle * GNUNET_RPS_request_peers_single_call (const struct GNUNET_CONFIGURATION_Handle *cfg, uint64_t n, @@ -55,6 +61,11 @@ GNUNET_RPS_connect( const struct GNUNET_CONFIGURATION_Handle *cfg ); /** * Request n random peers. + * + * This does exacly the same as GNUNET_RPS_request_peers_single_call + * but needs a GNUNET_RPS_Handle. + * This exists only for other parts of GNUnet that expect having to + * (dis)connect from/to a service. */ struct GNUNET_RPS_Request_Handle * GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint64_t n, |