|
struct GNUNET_RPS_Handle * | GNUNET_RPS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg) |
| Connect to the rps service. More...
|
|
void | GNUNET_RPS_sub_start (struct GNUNET_RPS_Handle *h, const char *shared_value) |
| Start a sub with the given shared value. More...
|
|
void | GNUNET_RPS_sub_stop (struct GNUNET_RPS_Handle *h, const char *shared_value) |
| Stop a sub with the given shared value. More...
|
|
struct GNUNET_RPS_Request_Handle * | GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint32_t n, GNUNET_RPS_NotifyReadyCB ready_cb, void *cls) |
| Request n random peers. More...
|
|
struct GNUNET_RPS_Request_Handle_Single_Info * | GNUNET_RPS_request_peer_info (struct GNUNET_RPS_Handle *rps_handle, GNUNET_RPS_NotifyReadySingleInfoCB ready_cb, void *cls) |
| Request one random peer, getting additional information. More...
|
|
void | GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint32_t n, const struct GNUNET_PeerIdentity *ids) |
| Seed rps service with peerIDs. More...
|
|
void | GNUNET_RPS_request_cancel (struct GNUNET_RPS_Request_Handle *rh) |
| Cancel an issued request. More...
|
|
void | GNUNET_RPS_request_single_info_cancel (struct GNUNET_RPS_Request_Handle_Single_Info *rhs) |
| Cancel an issued single info request. More...
|
|
void | GNUNET_RPS_view_request (struct GNUNET_RPS_Handle *rps_handle, uint32_t num_updates, GNUNET_RPS_NotifyReadyCB view_update_cb, void *cls) |
| Request updates of view. More...
|
|
struct GNUNET_RPS_StreamRequestHandle * | GNUNET_RPS_stream_request (struct GNUNET_RPS_Handle *rps_handle, GNUNET_RPS_NotifyReadyCB stream_input_cb, void *cls) |
| Request biased stream of peers that are being put into the sampler. More...
|
|
void | GNUNET_RPS_stream_cancel (struct GNUNET_RPS_StreamRequestHandle *srh) |
| Cancel a specific request for updates from the biased peer stream. More...
|
|
void | GNUNET_RPS_disconnect (struct GNUNET_RPS_Handle *h) |
| Disconnect from the rps service. More...
|
|
API to the rps service.
Definition in file gnunet_rps_service.h.