GNUnet  0.11.x
Data Fields
GNUNET_RPS_Request_Handle Struct Reference

Handler for a single request from a client. More...

Collaboration diagram for GNUNET_RPS_Request_Handle:
[legend]

Data Fields

struct GNUNET_RPS_Handlerps_handle
 The client issuing the request. More...
 
uint32_t num_requests
 The number of requested peers. More...
 
struct RPS_Samplersampler
 The Sampler for the client request. More...
 
struct RPS_SamplerRequestHandlesampler_rh
 Request handle of the request to the sampler - needed to cancel the request. More...
 
struct GNUNET_RPS_StreamRequestHandlesrh
 Request handle of the request of the biased stream of peers - needed to cancel the request. More...
 
GNUNET_RPS_NotifyReadyCB ready_cb
 The callback to be called when we receive an answer. More...
 
void * ready_cb_cls
 The closure for the callback. More...
 
struct GNUNET_RPS_Request_Handlenext
 Pointer to next element in DLL. More...
 
struct GNUNET_RPS_Request_Handleprev
 Pointer to previous element in DLL. More...
 

Detailed Description

Handler for a single request from a client.

Definition at line 159 of file rps_api.c.

Field Documentation

◆ rps_handle

struct GNUNET_RPS_Handle* GNUNET_RPS_Request_Handle::rps_handle

The client issuing the request.

Definition at line 164 of file rps_api.c.

Referenced by GNUNET_RPS_request_cancel(), and GNUNET_RPS_request_peers().

◆ num_requests

uint32_t GNUNET_RPS_Request_Handle::num_requests

The number of requested peers.

Definition at line 169 of file rps_api.c.

Referenced by GNUNET_RPS_request_peers().

◆ sampler

struct RPS_Sampler* GNUNET_RPS_Request_Handle::sampler

The Sampler for the client request.

Definition at line 174 of file rps_api.c.

Referenced by collect_peers_cb(), GNUNET_RPS_request_cancel(), and GNUNET_RPS_request_peers().

◆ sampler_rh

struct RPS_SamplerRequestHandle* GNUNET_RPS_Request_Handle::sampler_rh

Request handle of the request to the sampler - needed to cancel the request.

Definition at line 179 of file rps_api.c.

Referenced by GNUNET_RPS_request_cancel(), GNUNET_RPS_request_peers(), and peers_ready_cb().

◆ srh

struct GNUNET_RPS_StreamRequestHandle* GNUNET_RPS_Request_Handle::srh

Request handle of the request of the biased stream of peers - needed to cancel the request.

Definition at line 185 of file rps_api.c.

Referenced by GNUNET_RPS_request_cancel(), and GNUNET_RPS_request_peers().

◆ ready_cb

GNUNET_RPS_NotifyReadyCB GNUNET_RPS_Request_Handle::ready_cb

The callback to be called when we receive an answer.

Definition at line 190 of file rps_api.c.

Referenced by GNUNET_RPS_request_peers(), and peers_ready_cb().

◆ ready_cb_cls

void* GNUNET_RPS_Request_Handle::ready_cb_cls

The closure for the callback.

Definition at line 195 of file rps_api.c.

Referenced by GNUNET_RPS_request_peers(), and peers_ready_cb().

◆ next

struct GNUNET_RPS_Request_Handle* GNUNET_RPS_Request_Handle::next

Pointer to next element in DLL.

Definition at line 200 of file rps_api.c.

Referenced by nse_cb().

◆ prev

struct GNUNET_RPS_Request_Handle* GNUNET_RPS_Request_Handle::prev

Pointer to previous element in DLL.

Definition at line 205 of file rps_api.c.


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