GNUnet 0.21.2
ZoneIteration Struct Reference

A namestore iteration operation. More...

Collaboration diagram for ZoneIteration:
[legend]

Data Fields

struct ZoneIterationnext
 Next element in the DLL. More...
 
struct ZoneIterationprev
 Previous element in the DLL. More...
 
struct NamestoreClientnc
 Namestore client which intiated this zone iteration. More...
 
struct GNUNET_GNSRECORD_Datanick
 The nick to add to the records. More...
 
struct GNUNET_CRYPTO_PrivateKey zone
 Key of the zone we are iterating over. More...
 
enum GNUNET_GNSRECORD_Filter filter
 The record set filter. More...
 
uint64_t seq
 Last sequence number in the zone iteration used to address next result of the zone iteration in the store. More...
 
uint32_t request_id
 The operation id for the zone iteration in the response for the client. More...
 
uint32_t offset
 Offset of the zone iteration used to address next result of the zone iteration in the store. More...
 
int send_end
 Set to GNUNET_YES if the last iteration exhausted the limit set by the client and we should send the GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_RESULT_END message and free the data structure. More...
 

Detailed Description

A namestore iteration operation.

Definition at line 57 of file gnunet-service-namestore.c.

Field Documentation

◆ next

struct ZoneIteration* ZoneIteration::next

Next element in the DLL.

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

Referenced by handle_iteration_next(), and handle_iteration_stop().

◆ prev

struct ZoneIteration* ZoneIteration::prev

Previous element in the DLL.

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

◆ nc

struct NamestoreClient* ZoneIteration::nc

Namestore client which intiated this zone iteration.

Definition at line 72 of file gnunet-service-namestore.c.

Referenced by handle_iteration_start(), run_zone_iteration_round(), zone_iterate_proc(), and zone_iteration_done_client_continue().

◆ nick

struct GNUNET_GNSRECORD_Data* ZoneIteration::nick

The nick to add to the records.

Definition at line 77 of file gnunet-service-namestore.c.

◆ zone

struct GNUNET_CRYPTO_PrivateKey ZoneIteration::zone

Key of the zone we are iterating over.

Definition at line 82 of file gnunet-service-namestore.c.

Referenced by handle_iteration_start(), and run_zone_iteration_round().

◆ filter

enum GNUNET_GNSRECORD_Filter ZoneIteration::filter

The record set filter.

Definition at line 87 of file gnunet-service-namestore.c.

Referenced by handle_iteration_start(), and zone_iterate_proc().

◆ seq

uint64_t ZoneIteration::seq

Last sequence number in the zone iteration used to address next result of the zone iteration in the store.

Initially set to 0. Updated in zone_iterate_proc()

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

Referenced by run_zone_iteration_round(), and zone_iterate_proc().

◆ request_id

uint32_t ZoneIteration::request_id

The operation id for the zone iteration in the response for the client.

Definition at line 101 of file gnunet-service-namestore.c.

Referenced by handle_iteration_next(), handle_iteration_start(), handle_iteration_stop(), zone_iterate_proc(), and zone_iteration_done_client_continue().

◆ offset

uint32_t ZoneIteration::offset

Offset of the zone iteration used to address next result of the zone iteration in the store.

Initially set to 0 in handle_iteration_start Incremented with by every call to handle_iteration_next

Definition at line 110 of file gnunet-service-namestore.c.

Referenced by handle_iteration_start().

◆ send_end

int ZoneIteration::send_end

Set to GNUNET_YES if the last iteration exhausted the limit set by the client and we should send the GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_RESULT_END message and free the data structure.

Definition at line 117 of file gnunet-service-namestore.c.

Referenced by run_zone_iteration_round(), and zone_iteration_done_client_continue().


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