GNUnet  0.11.x
Data Fields
RPS_SamplerRequestHandle Struct Reference

Closure to _get_n_rand_peers_ready_cb() More...

Collaboration diagram for RPS_SamplerRequestHandle:
[legend]

Data Fields

struct RPS_SamplerRequestHandlenext
 DLL. More...
 
struct RPS_SamplerRequestHandleprev
 
uint32_t num_peers
 Number of peers we are waiting for. More...
 
uint32_t cur_num_peers
 Number of peers we currently have. More...
 
struct GNUNET_PeerIdentityids
 Pointer to the array holding the ids. More...
 
struct GetPeerClsgpc_head
 Head and tail for the DLL to store the tasks for single requests. More...
 
struct GetPeerClsgpc_tail
 
struct RPS_Samplersampler
 Sampler. More...
 
RPS_sampler_n_rand_peers_ready_cb callback
 Callback to be called when all ids are available. More...
 
void * cls
 Closure given to the callback. More...
 

Detailed Description

Closure to _get_n_rand_peers_ready_cb()

Definition at line 116 of file gnunet-service-rps_sampler.c.

Field Documentation

◆ next

struct RPS_SamplerRequestHandle * RPS_SamplerRequestHandle::next

DLL.

Definition at line 121 of file gnunet-service-rps_sampler.c.

◆ prev

struct RPS_SamplerRequestHandle * RPS_SamplerRequestHandle::prev

Definition at line 122 of file gnunet-service-rps_sampler.c.

◆ num_peers

uint32_t RPS_SamplerRequestHandle::num_peers

Number of peers we are waiting for.

Definition at line 127 of file gnunet-service-rps_sampler.c.

Referenced by check_n_peers_ready(), and RPS_sampler_get_n_rand_peers().

◆ cur_num_peers

uint32_t RPS_SamplerRequestHandle::cur_num_peers

Number of peers we currently have.

Definition at line 132 of file gnunet-service-rps_sampler.c.

Referenced by check_n_peers_ready(), and RPS_sampler_get_n_rand_peers().

◆ ids

struct GNUNET_PeerIdentity * RPS_SamplerRequestHandle::ids

Pointer to the array holding the ids.

Definition at line 137 of file gnunet-service-rps_sampler.c.

Referenced by check_n_peers_ready(), RPS_sampler_get_n_rand_peers(), and RPS_sampler_request_cancel().

◆ gpc_head

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 RPS_sampler_get_n_rand_peers(), RPS_sampler_request_cancel(), sampler_get_rand_peer(), and sampler_mod_get_rand_peer().

◆ gpc_tail

struct GetPeerCls * RPS_SamplerRequestHandle::gpc_tail

◆ sampler

struct RPS_Sampler * RPS_SamplerRequestHandle::sampler

◆ callback

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.

Referenced by check_n_peers_ready(), and RPS_sampler_get_n_rand_peers().

◆ cls

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(), and RPS_sampler_get_n_rand_peers().


The documentation for this struct was generated from the following files: