GNUnet  0.11.x
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)
message_sent_cont(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
Definition: 019.c:1
struct GNUNET_GETOPT_CommandLineOption options[]
Definition: 002.c:5
Blocks in the datastore and the datacache must have a unique type.
Context information passed to each scheduler task.
static struct GNUNET_SCHEDULER_TaskContext tc
Task context of the current task.
Definition: scheduler.c:423
Connection to the DHT service.
Definition: dht_api.c:201
static struct GNUNET_TIME_Relative timeout
Desired timeout for the lookup (default is no timeout).
Definition: gnunet-abd.c:61
GNUNET_SCHEDULER_TaskCallback cont
Continuation to call when done.
Definition: dht_api.c:58
void * cont_cls
Closure for cont.
Definition: dht_api.c:68
static struct GNUNET_DNS_Handle * handle
Handle to transport service.
A 512-bit hashcode.
Options for routing.
struct GNUNET_HashCode key
The key used in the DHT.
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:966
static unsigned int size
Size of the "table".
Definition: peer.c:67
Handle to a PUT request.
Definition: dht_api.c:43
enum GNUNET_TESTBED_UnderlayLinkModelType type
the type of this model
Time for absolute times used by GNUnet, in microseconds.
uint32_t data
The data value.
Time for relative time used by GNUnet, in microseconds.