GNUnet  0.19.5
Go to the documentation of this file.
1 static void
3  const struct GNUNET_HashCode *key,
4  const struct GNUNET_PeerIdentity *get_path,
5  unsigned int get_path_length,
6  const struct GNUNET_PeerIdentity *put_path,
7  unsigned int put_path_length,
8  enum GNUNET_BLOCK_Type type, size_t size,
9  const void *data)
10 {
11  // Optionally:
13 }
15 get_handle =
17  block_type,
18  &key,
21  NULL,
22  0,
24  cls)
Definition: 018.c:1
static void get_result_iterator(void *cls, struct GNUNET_TIME_Absolute expiration, const struct GNUNET_HashCode *key, const struct GNUNET_PeerIdentity *get_path, unsigned int get_path_length, const struct GNUNET_PeerIdentity *put_path, unsigned int put_path_length, enum GNUNET_BLOCK_Type type, size_t size, const void *data)
Definition: 020.c:2
WARNING: This header is generated! In order to add DHT block types, you must register them in GANA,...
static char * expiration
Credential TTL.
Definition: gnunet-abd.c:96
static unsigned int replication
static struct GNUNET_DHT_GetHandle * get_handle
Handle for the get request.
static unsigned int block_type
The type of the query.
struct GNUNET_HashCode key
The key used in the DHT.
uint32_t data
The data value.
void GNUNET_DHT_get_stop(struct GNUNET_DHT_GetHandle *get_handle)
Stop async DHT-get.
Definition: dht_api.c:1237
struct GNUNET_DHT_GetHandle * GNUNET_DHT_get_start(struct GNUNET_DHT_Handle *handle, enum GNUNET_BLOCK_Type type, const struct GNUNET_HashCode *key, uint32_t desired_replication_level, enum GNUNET_DHT_RouteOption options, const void *xquery, size_t xquery_size, GNUNET_DHT_GetIterator iter, void *iter_cls)
Perform an asynchronous GET operation on the DHT identified.
Definition: dht_api.c:1164
static unsigned int size
Size of the "table".
Definition: peer.c:68
A 512-bit hashcode.
The identity of the host (wraps the signing key of the peer).
Time for absolute times used by GNUnet, in microseconds.
enum GNUNET_TESTBED_UnderlayLinkModelType type
the type of this model