GNUnet 0.29.1-dev.1-3-g346358e26
 
Loading...
Searching...
No Matches
GetPeerCls Struct Reference

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>

Collaboration diagram for GetPeerCls:
[legend]

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.
 

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: