GNUnet 0.21.1
Go to the documentation of this file.
4 // Request has left local node
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
static struct GNUNET_TIME_Relative timeout
User defined timestamp for completing operations.
Definition: gnunet-arm.c:119
static char * data
The data to insert into the dht.
struct GNUNET_HashCode key
The key used in the DHT.
static uint32_t type
Type string converted to DNS type value.
static struct GNUNET_VPN_Handle * handle
Handle to vpn service.
Definition: gnunet-vpn.c:35
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:1088
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
WARNING: This header is generated! In order to add DHT block types, you must register them in GANA,...
Connection to the DHT service.
Definition: dht_api.c:235
Handle to a PUT request.
Definition: dht_api.c:43
void * cont_cls
Closure for cont.
Definition: dht_api.c:67
GNUNET_SCHEDULER_TaskCallback cont
Continuation to call when done.
Definition: dht_api.c:57
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.