Closure for sampler_mod_get_rand_peer() and sampler_get_rand_peer. More...
#include </home/buildbot/bb-worker/worker/gnunet_release/build/src/contrib/service/rps/rps-sampler_common.h>
Data Fields | |
| struct GetPeerCls * | next |
| DLL. | |
| struct GetPeerCls * | prev |
| struct RPS_SamplerRequestHandle * | req_handle |
| The RPS_SamplerRequestHandle this single request belongs to. | |
| struct RPS_SamplerRequestHandleSingleInfo * | req_single_info_handle |
| The RPS_SamplerRequestHandleSingleInfo this single request belongs to. | |
| struct GNUNET_SCHEDULER_Task * | get_peer_task |
| The task for this function. | |
| struct SamplerNotifyUpdateCTX * | notify_ctx |
| Context to the given callback. | |
| RPS_sampler_rand_peer_ready_cont | cont |
| The callback. | |
| void * | cont_cls |
| The closure to the callback cont. | |
| struct GNUNET_PeerIdentity * | id |
| The address of the id to be stored at. | |
Closure for sampler_mod_get_rand_peer() and sampler_get_rand_peer.
Definition at line 106 of file rps-sampler_common.h.
| struct GetPeerCls* GetPeerCls::next |
DLL.
Definition at line 111 of file rps-sampler_common.h.
| struct GetPeerCls* GetPeerCls::prev |
Definition at line 112 of file rps-sampler_common.h.
| struct RPS_SamplerRequestHandle* GetPeerCls::req_handle |
The RPS_SamplerRequestHandle this single request belongs to.
Definition at line 117 of file rps-sampler_common.h.
Referenced by RPS_sampler_get_n_rand_peers(), RPS_sampler_get_rand_peer_info(), sampler_get_rand_peer(), and sampler_mod_get_rand_peer().
| struct RPS_SamplerRequestHandleSingleInfo* GetPeerCls::req_single_info_handle |
The RPS_SamplerRequestHandleSingleInfo this single request belongs to.
Definition at line 122 of file rps-sampler_common.h.
Referenced by RPS_sampler_get_n_rand_peers(), RPS_sampler_get_rand_peer_info(), RPS_sampler_request_single_info_cancel(), and sampler_mod_get_rand_peer().
| struct GNUNET_SCHEDULER_Task* GetPeerCls::get_peer_task |
The task for this function.
Definition at line 127 of file rps-sampler_common.h.
Referenced by RPS_sampler_get_n_rand_peers(), RPS_sampler_get_rand_peer_info(), RPS_sampler_request_cancel(), RPS_sampler_request_single_info_cancel(), sampler_get_rand_peer(), and sampler_mod_get_rand_peer().
| struct SamplerNotifyUpdateCTX* GetPeerCls::notify_ctx |
Context to the given callback.
Definition at line 132 of file rps-sampler_common.h.
Referenced by RPS_sampler_request_cancel(), RPS_sampler_request_single_info_cancel(), sampler_get_rand_peer(), and sampler_mod_get_rand_peer().
| RPS_sampler_rand_peer_ready_cont GetPeerCls::cont |
The callback.
Definition at line 137 of file rps-sampler_common.h.
Referenced by RPS_sampler_get_n_rand_peers(), RPS_sampler_get_rand_peer_info(), sampler_get_rand_peer(), and sampler_mod_get_rand_peer().
| void* GetPeerCls::cont_cls |
The closure to the callback cont.
Definition at line 142 of file rps-sampler_common.h.
Referenced by RPS_sampler_get_n_rand_peers(), RPS_sampler_get_rand_peer_info(), sampler_get_rand_peer(), and sampler_mod_get_rand_peer().
| struct GNUNET_PeerIdentity* GetPeerCls::id |
The address of the id to be stored at.
Definition at line 147 of file rps-sampler_common.h.
Referenced by RPS_sampler_get_n_rand_peers(), RPS_sampler_get_rand_peer_info(), sampler_get_rand_peer(), and sampler_mod_get_rand_peer().