GNUnet 0.22.2
GetPeerCls Struct Reference

Closure for sampler_mod_get_rand_peer() and sampler_get_rand_peer. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/contrib/service/rps/rps-sampler_common.h>

Collaboration diagram for GetPeerCls:
[legend]

Data Fields

struct GetPeerClsnext
 DLL. More...
 
struct GetPeerClsprev
 
struct RPS_SamplerRequestHandlereq_handle
 The RPS_SamplerRequestHandle this single request belongs to. More...
 
struct RPS_SamplerRequestHandleSingleInforeq_single_info_handle
 The RPS_SamplerRequestHandleSingleInfo this single request belongs to. More...
 
struct GNUNET_SCHEDULER_Taskget_peer_task
 The task for this function. More...
 
struct SamplerNotifyUpdateCTXnotify_ctx
 Context to the given callback. More...
 
RPS_sampler_rand_peer_ready_cont cont
 The callback. More...
 
void * cont_cls
 The closure to the callback cont. More...
 
struct GNUNET_PeerIdentityid
 The address of the id to be stored at. More...
 

Detailed Description

Closure for sampler_mod_get_rand_peer() and sampler_get_rand_peer.

Definition at line 106 of file rps-sampler_common.h.

Field Documentation

◆ next

struct GetPeerCls* GetPeerCls::next

DLL.

Definition at line 111 of file rps-sampler_common.h.

◆ prev

struct GetPeerCls* GetPeerCls::prev

Definition at line 112 of file rps-sampler_common.h.

◆ req_handle

struct RPS_SamplerRequestHandle* GetPeerCls::req_handle

◆ req_single_info_handle

◆ get_peer_task

◆ notify_ctx

◆ cont

◆ cont_cls

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().

◆ id

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().


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