Handle to a GET request. More...
Data Fields | |
GNUNET_DHT_GetIterator | iter |
Iterator to call on data receipt. More... | |
void * | iter_cls |
Closure for iter. More... | |
struct GNUNET_DHT_Handle * | dht_handle |
Main handle to this DHT api. More... | |
struct GNUNET_HashCode * | seen_results |
Array of hash codes over the results that we have already seen. More... | |
struct GNUNET_HashCode | key |
Key that this get request is for. More... | |
uint64_t | unique_id |
Unique identifier for this request (for key collisions). More... | |
size_t | xquery_size |
Size of the extended query, allocated at the end of this struct. More... | |
uint32_t | desired_replication_level |
Desired replication level. More... | |
enum GNUNET_BLOCK_Type | type |
Type of the block we are looking for. More... | |
enum GNUNET_DHT_RouteOption | options |
Routing options. More... | |
unsigned int | seen_results_size |
Size of the seen_results array. More... | |
unsigned int | seen_results_end |
Offset into the seen_results array marking the end of the positions that are actually used. More... | |
GNUNET_DHT_GetIterator GNUNET_DHT_GetHandle::iter |
Iterator to call on data receipt.
Definition at line 83 of file dht_api.c.
Referenced by GNUNET_DHT_get_start(), and process_client_result().
void* GNUNET_DHT_GetHandle::iter_cls |
Closure for iter.
Definition at line 88 of file dht_api.c.
Referenced by GNUNET_DHT_get_start(), and process_client_result().
struct GNUNET_DHT_Handle* GNUNET_DHT_GetHandle::dht_handle |
Main handle to this DHT api.
Definition at line 93 of file dht_api.c.
Referenced by GNUNET_DHT_get_filter_known_results(), GNUNET_DHT_get_start(), GNUNET_DHT_get_stop(), send_get(), and send_get_known_results().
struct GNUNET_HashCode* GNUNET_DHT_GetHandle::seen_results |
Array of hash codes over the results that we have already seen.
Definition at line 99 of file dht_api.c.
Referenced by GNUNET_DHT_get_filter_known_results(), GNUNET_DHT_get_stop(), process_client_result(), and send_get_known_results().
struct GNUNET_HashCode GNUNET_DHT_GetHandle::key |
Key that this get request is for.
Definition at line 104 of file dht_api.c.
Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), GNUNET_DHT_get_start(), GNUNET_DHT_get_stop(), send_get(), send_get_known_results(), and gnunet-chk.Chk::uri().
uint64_t GNUNET_DHT_GetHandle::unique_id |
Unique identifier for this request (for key collisions).
Definition at line 109 of file dht_api.c.
Referenced by GNUNET_DHT_get_start(), GNUNET_DHT_get_stop(), process_client_result(), send_get(), and send_get_known_results().
size_t GNUNET_DHT_GetHandle::xquery_size |
Size of the extended query, allocated at the end of this struct.
Definition at line 114 of file dht_api.c.
Referenced by GNUNET_DHT_get_start(), and send_get().
uint32_t GNUNET_DHT_GetHandle::desired_replication_level |
Desired replication level.
Definition at line 119 of file dht_api.c.
Referenced by GNUNET_DHT_get_start(), and send_get().
enum GNUNET_BLOCK_Type GNUNET_DHT_GetHandle::type |
Type of the block we are looking for.
Definition at line 124 of file dht_api.c.
Referenced by GNUNET_DHT_get_start(), process_client_result(), and send_get().
enum GNUNET_DHT_RouteOption GNUNET_DHT_GetHandle::options |
Routing options.
Definition at line 129 of file dht_api.c.
Referenced by httpdomain.httpdomain.HTTPResource::add_target_and_index(), httpdomain.autohttp.flask_base.AutoflaskBase::blueprints(), httpdomain.autohttp.bottle.AutobottleDirective::endpoints(), httpdomain.autohttp.flask_base.AutoflaskBase::endpoints(), httpdomain.autohttp.tornado.AutoTornadoDirective::endpoints(), GNUNET_DHT_get_start(), httpdomain.autohttp.bottle.AutobottleDirective::make_rst(), httpdomain.autohttp.tornado.AutoTornadoDirective::make_rst(), httpdomain.autohttp.flask_base.AutoflaskBase::make_rst(), httpdomain.autohttp.flask_base.AutoflaskBase::modules(), httpdomain.autohttp.flask_base.AutoflaskBase::order(), typescriptdomain.TypeScriptDefinition::run(), send_get(), httpdomain.autohttp.flask_base.AutoflaskBase::undoc_blueprints(), httpdomain.autohttp.bottle.AutobottleDirective::undoc_endpoints(), httpdomain.autohttp.flask_base.AutoflaskBase::undoc_endpoints(), httpdomain.autohttp.tornado.AutoTornadoDirective::undoc_endpoints(), and httpdomain.autohttp.flask_base.AutoflaskBase::undoc_modules().
unsigned int GNUNET_DHT_GetHandle::seen_results_size |
Size of the seen_results array.
Note that not all positions might be used (as we over-allocate).
Definition at line 135 of file dht_api.c.
Referenced by GNUNET_DHT_get_filter_known_results(), and process_client_result().
unsigned int GNUNET_DHT_GetHandle::seen_results_end |
Offset into the seen_results array marking the end of the positions that are actually used.
Definition at line 141 of file dht_api.c.
Referenced by GNUNET_DHT_get_filter_known_results(), GNUNET_DHT_get_stop(), process_client_result(), and send_get_known_results().