GNUnet  0.20.0
Go to the documentation of this file.
1 message_sent_cont (void *cls,
2  const struct GNUNET_SCHEDULER_TaskContext *tc)
3 {
4  // Request has left local node
5 }
9  const struct GNUNET_HashCode *key,
10  uint32_t desired_replication_level,
13  size_t size,
14  const void *data,
15  struct GNUNET_TIME_Absolute exp,
17  GNUNET_DHT_PutContinuation cont, void *cont_cls)
struct GNUNET_GETOPT_CommandLineOption options[]
Definition: 002.c:5
message_sent_cont(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
Definition: 019.c:1
WARNING: This header is generated! In order to add DHT block types, you must register them in GANA,...
static struct GNUNET_TIME_Relative timeout
Desired timeout for the lookup (default is no timeout).
Definition: gnunet-abd.c:61
struct GNUNET_HashCode key
The key used in the DHT.
static struct GNUNET_DNS_Handle * handle
Handle to transport service.
uint32_t data
The data value.
Options for routing.
struct GNUNET_DHT_PutHandle * GNUNET_DHT_put(struct GNUNET_DHT_Handle *handle, const struct GNUNET_HashCode *key, uint32_t desired_replication_level, enum GNUNET_DHT_RouteOption options, enum GNUNET_BLOCK_Type type, size_t size, const void *data, struct GNUNET_TIME_Absolute exp, GNUNET_SCHEDULER_TaskCallback cont, void *cont_cls)
Perform a PUT operation storing data in the DHT.
Definition: dht_api.c:1090
static unsigned int size
Size of the "table".
Definition: peer.c:68
static struct GNUNET_SCHEDULER_TaskContext tc
Task context of the current task.
Definition: scheduler.c:431
Connection to the DHT service.
Definition: dht_api.c:237
Handle to a PUT request.
Definition: dht_api.c:45
void * cont_cls
Closure for cont.
Definition: dht_api.c:69
GNUNET_SCHEDULER_TaskCallback cont
Continuation to call when done.
Definition: dht_api.c:59
A 512-bit hashcode.
Context information passed to each scheduler task.
Time for absolute times used by GNUnet, in microseconds.
Time for relative time used by GNUnet, in microseconds.
enum GNUNET_TESTBED_UnderlayLinkModelType type
the type of this model