GNUnet 0.22.2
GSF_CadetRequest Struct Reference

Handle for a request that is going out via cadet API. More...

Collaboration diagram for GSF_CadetRequest:
[legend]

Data Fields

struct GSF_CadetRequestnext
 DLL. More...
 
struct GSF_CadetRequestprev
 DLL. More...
 
struct CadetHandlemh
 Which cadet is this request associated with? More...
 
GSF_CadetReplyProcessor proc
 Function to call with the result. More...
 
void * proc_cls
 Closure for proc. More...
 
struct GNUNET_HashCode query
 Query to transmit to the other peer. More...
 
enum GNUNET_BLOCK_Type type
 Desired type for the reply. More...
 
int was_transmitted
 Did we transmit this request already? GNUNET_YES if we are in the 'waiting_map', GNUNET_NO if we are in the 'pending' DLL. More...
 

Detailed Description

Handle for a request that is going out via cadet API.

Definition at line 55 of file gnunet-service-fs_cadet_client.c.

Field Documentation

◆ next

struct GSF_CadetRequest* GSF_CadetRequest::next

DLL.

Definition at line 60 of file gnunet-service-fs_cadet_client.c.

◆ prev

struct GSF_CadetRequest* GSF_CadetRequest::prev

DLL.

Definition at line 65 of file gnunet-service-fs_cadet_client.c.

◆ mh

struct CadetHandle* GSF_CadetRequest::mh

Which cadet is this request associated with?

Definition at line 70 of file gnunet-service-fs_cadet_client.c.

Referenced by GSF_cadet_query(), and GSF_cadet_query_cancel().

◆ proc

GSF_CadetReplyProcessor GSF_CadetRequest::proc

Function to call with the result.

Definition at line 75 of file gnunet-service-fs_cadet_client.c.

Referenced by GSF_cadet_query(), GSF_cadet_query_cancel(), and process_reply().

◆ proc_cls

void* GSF_CadetRequest::proc_cls

Closure for proc.

Definition at line 80 of file gnunet-service-fs_cadet_client.c.

Referenced by GSF_cadet_query(), GSF_cadet_query_cancel(), and process_reply().

◆ query

struct GNUNET_HashCode GSF_CadetRequest::query

Query to transmit to the other peer.

Definition at line 85 of file gnunet-service-fs_cadet_client.c.

Referenced by gnunet-chk.Chk::__init__(), GSF_cadet_query(), GSF_cadet_query_cancel(), transmit_pending(), and gnunet-chk.Chk::uri().

◆ type

enum GNUNET_BLOCK_Type GSF_CadetRequest::type

Desired type for the reply.

Definition at line 90 of file gnunet-service-fs_cadet_client.c.

Referenced by GSF_cadet_query(), and transmit_pending().

◆ was_transmitted

int GSF_CadetRequest::was_transmitted

Did we transmit this request already? GNUNET_YES if we are in the 'waiting_map', GNUNET_NO if we are in the 'pending' DLL.

Definition at line 96 of file gnunet-service-fs_cadet_client.c.

Referenced by GSF_cadet_query_cancel(), move_to_pending(), and transmit_pending().


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