10 uint32_t desired_replication_level,
struct GNUNET_GETOPT_CommandLineOption options[]
message_sent_cont(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
static struct GNUNET_TIME_Relative timeout
User defined timestamp for completing operations.
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.
GNUNET_BLOCK_Type
WARNING: This header is generated! In order to add DHT block types, you must register them in GANA,...
GNUNET_DHT_RouteOption
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.
static unsigned int size
Size of the "table".
static struct GNUNET_SCHEDULER_TaskContext tc
Task context of the current task.
Connection to the DHT service.
void * cont_cls
Closure for cont.
GNUNET_SCHEDULER_TaskCallback cont
Continuation to call when done.
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.