GNUnet  0.11.x
Data Fields
GetRequestContext Struct Reference

Context containing information about a GET request. More...

Collaboration diagram for GetRequestContext:
[legend]

Data Fields

const void * xquery
 extended query (see gnunet_block_lib.h). More...
 
struct GNUNET_HashCode key
 The key this request was about. More...
 
struct GNUNET_BLOCK_Groupbg
 Block group to use to evaluate replies (updated) More...
 
GDS_DATACACHE_GetCallback gc
 Function to call on results. More...
 
void * gc_cls
 Closure for gc. More...
 
size_t xquery_size
 Number of bytes in xquery. More...
 
enum GNUNET_BLOCK_EvaluationResult eval
 Return value to give back. More...
 

Detailed Description

Context containing information about a GET request.

Definition at line 108 of file gnunet-service-dht_datacache.c.

Field Documentation

◆ xquery

const void* GetRequestContext::xquery

extended query (see gnunet_block_lib.h).

Definition at line 113 of file gnunet-service-dht_datacache.c.

Referenced by datacache_get_iterator(), and GDS_DATACACHE_handle_get().

◆ key

struct GNUNET_HashCode GetRequestContext::key

◆ bg

struct GNUNET_BLOCK_Group* GetRequestContext::bg

Block group to use to evaluate replies (updated)

Definition at line 123 of file gnunet-service-dht_datacache.c.

Referenced by datacache_get_iterator(), and GDS_DATACACHE_handle_get().

◆ gc

GDS_DATACACHE_GetCallback GetRequestContext::gc

Function to call on results.

Definition at line 128 of file gnunet-service-dht_datacache.c.

Referenced by datacache_get_iterator(), and GDS_DATACACHE_handle_get().

◆ gc_cls

void* GetRequestContext::gc_cls

Closure for gc.

Definition at line 133 of file gnunet-service-dht_datacache.c.

Referenced by datacache_get_iterator(), and GDS_DATACACHE_handle_get().

◆ xquery_size

size_t GetRequestContext::xquery_size

Number of bytes in xquery.

Definition at line 138 of file gnunet-service-dht_datacache.c.

Referenced by datacache_get_iterator(), and GDS_DATACACHE_handle_get().

◆ eval

enum GNUNET_BLOCK_EvaluationResult GetRequestContext::eval

Return value to give back.

Definition at line 143 of file gnunet-service-dht_datacache.c.

Referenced by datacache_get_iterator(), and GDS_DATACACHE_handle_get().


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