Closure to _get_n_rand_peers_ready_cb() More...
Data Fields | |
| struct RPS_SamplerRequestHandle * | next |
| DLL. | |
| struct RPS_SamplerRequestHandle * | prev |
| uint32_t | num_peers |
| Number of peers we are waiting for. | |
| uint32_t | cur_num_peers |
| Number of peers we currently have. | |
| struct GNUNET_PeerIdentity * | ids |
| Pointer to the array holding the ids. | |
| struct GetPeerCls * | gpc_head |
| Head and tail for the DLL to store the tasks for single requests. | |
| struct GetPeerCls * | gpc_tail |
| struct RPS_Sampler * | sampler |
| Sampler. | |
| RPS_sampler_n_rand_peers_ready_cb | callback |
| Callback to be called when all ids are available. | |
| void * | cls |
| Closure given to the callback. | |
Closure to _get_n_rand_peers_ready_cb()
Definition at line 116 of file gnunet-service-rps_sampler.c.
| struct RPS_SamplerRequestHandle * RPS_SamplerRequestHandle::next |
DLL.
Definition at line 121 of file gnunet-service-rps_sampler.c.
| struct RPS_SamplerRequestHandle * RPS_SamplerRequestHandle::prev |
Definition at line 122 of file gnunet-service-rps_sampler.c.
| uint32_t RPS_SamplerRequestHandle::num_peers |
Number of peers we are waiting for.
Definition at line 127 of file gnunet-service-rps_sampler.c.
| uint32_t RPS_SamplerRequestHandle::cur_num_peers |
Number of peers we currently have.
Definition at line 132 of file gnunet-service-rps_sampler.c.
| struct GNUNET_PeerIdentity * RPS_SamplerRequestHandle::ids |
Pointer to the array holding the ids.
Definition at line 137 of file gnunet-service-rps_sampler.c.
| struct GetPeerCls * RPS_SamplerRequestHandle::gpc_head |
Head and tail for the DLL to store the tasks for single requests.
Definition at line 142 of file gnunet-service-rps_sampler.c.
Referenced by sampler_get_rand_peer(), and sampler_mod_get_rand_peer().
| struct GetPeerCls * RPS_SamplerRequestHandle::gpc_tail |
Definition at line 143 of file gnunet-service-rps_sampler.c.
Referenced by sampler_get_rand_peer(), and sampler_mod_get_rand_peer().
| struct RPS_Sampler * RPS_SamplerRequestHandle::sampler |
Sampler.
Definition at line 148 of file gnunet-service-rps_sampler.c.
Referenced by sampler_get_rand_peer(), and sampler_mod_get_rand_peer().
| RPS_sampler_n_rand_peers_ready_cb RPS_SamplerRequestHandle::callback |
Callback to be called when all ids are available.
Definition at line 153 of file gnunet-service-rps_sampler.c.
| void * RPS_SamplerRequestHandle::cls |
Closure given to the callback.
Definition at line 158 of file gnunet-service-rps_sampler.c.
Referenced by check_n_peers_ready().