A peerstore iteration operation. More...
Data Fields | |
struct Iteration * | next |
Next element in the DLL. More... | |
struct Iteration * | prev |
Previous element in the DLL. More... | |
struct PeerstoreClient * | pc |
Namestore client which initiated this zone iteration. 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_PEERSTORE_RECORD_RESULT_END message and free the data structure. More... | |
char * | sub_system |
Responsible sub system string. More... | |
struct GNUNET_PeerIdentity | peer |
Peer Identity. More... | |
char * | key |
Record key string. More... | |
int | peer_set |
Peer is set? More... | |
A peerstore iteration operation.
Definition at line 134 of file gnunet-service-peerstore.c.
struct Iteration* Iteration::next |
Next element in the DLL.
Definition at line 139 of file gnunet-service-peerstore.c.
Referenced by handle_iterate_next(), and handle_iterate_stop().
struct Iteration* Iteration::prev |
Previous element in the DLL.
Definition at line 144 of file gnunet-service-peerstore.c.
struct PeerstoreClient* Iteration::pc |
Namestore client which initiated this zone iteration.
Definition at line 149 of file gnunet-service-peerstore.c.
Referenced by handle_iterate_start(), iterate_proc(), and iteration_done_client_continue().
uint64_t Iteration::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 158 of file gnunet-service-peerstore.c.
Referenced by iterate_proc(), and run_iteration_round().
uint32_t Iteration::request_id |
The operation id for the zone iteration in the response for the client.
Definition at line 163 of file gnunet-service-peerstore.c.
Referenced by handle_iterate_next(), handle_iterate_start(), handle_iterate_stop(), iterate_proc(), and iteration_done_client_continue().
uint32_t Iteration::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 172 of file gnunet-service-peerstore.c.
Referenced by handle_iterate_start().
int Iteration::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_PEERSTORE_RECORD_RESULT_END message and free the data structure.
Definition at line 179 of file gnunet-service-peerstore.c.
Referenced by iteration_done_client_continue(), and run_iteration_round().
char* Iteration::sub_system |
Responsible sub system string.
Definition at line 184 of file gnunet-service-peerstore.c.
Referenced by destroy_iteration(), handle_iterate_start(), and run_iteration_round().
struct GNUNET_PeerIdentity Iteration::peer |
Peer Identity.
Definition at line 189 of file gnunet-service-peerstore.c.
Referenced by handle_iterate_start(), and run_iteration_round().
char* Iteration::key |
Record key string.
Definition at line 194 of file gnunet-service-peerstore.c.
Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), destroy_iteration(), handle_iterate_start(), run_iteration_round(), and gnunet-chk.Chk::uri().
int Iteration::peer_set |
Peer is set?
Definition at line 199 of file gnunet-service-peerstore.c.
Referenced by handle_iterate_start(), and run_iteration_round().