GNUnet 0.22.1
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_ReplyEvaluationResult eval
 Return value to give back. More...
 

Detailed Description

Context containing information about a GET request.

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

Field Documentation

◆ xquery

const void* GetRequestContext::xquery

extended query (see gnunet_block_lib.h).

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

Referenced by GDS_DATACACHE_get_closest(), and GDS_DATACACHE_handle_get().

◆ key

struct GNUNET_HashCode GetRequestContext::key

The key this request was about.

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

Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), and gnunet-chk.Chk::uri().

◆ bg

struct GNUNET_BLOCK_Group* GetRequestContext::bg

Block group to use to evaluate replies (updated)

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

Referenced by GDS_DATACACHE_get_closest(), and GDS_DATACACHE_handle_get().

◆ gc

GDS_DATACACHE_GetCallback GetRequestContext::gc

Function to call on results.

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

Referenced by GDS_DATACACHE_handle_get().

◆ gc_cls

void* GetRequestContext::gc_cls

Closure for gc.

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

Referenced by GDS_DATACACHE_handle_get().

◆ xquery_size

size_t GetRequestContext::xquery_size

Number of bytes in xquery.

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

Referenced by GDS_DATACACHE_get_closest(), and GDS_DATACACHE_handle_get().

◆ eval

enum GNUNET_BLOCK_ReplyEvaluationResult GetRequestContext::eval

Return value to give back.

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

Referenced by datacache_get_iterator().


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