GNUnet  0.11.x
Data Fields
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 57 of file gnunet-service-fs_cadet_client.c.

Field Documentation

◆ next

struct GSF_CadetRequest* GSF_CadetRequest::next

DLL.

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

◆ prev

struct GSF_CadetRequest* GSF_CadetRequest::prev

DLL.

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

◆ mh

struct CadetHandle* GSF_CadetRequest::mh

◆ proc

GSF_CadetReplyProcessor GSF_CadetRequest::proc

Function to call with the result.

Definition at line 77 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 82 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 87 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 92 of file gnunet-service-fs_cadet_client.c.

Referenced by GSF_cadet_query(), handle_reply(), 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 98 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: