GNUnet  0.10.x
019.c
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 }
6 
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)
18 
message_sent_cont(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
Definition: 019.c:1
struct GNUNET_GETOPT_CommandLineOption options[]
Definition: 002.c:5
GNUNET_BLOCK_Type
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:410
Connection to the DHT service.
Definition: dht_api.c:198
static struct GNUNET_TIME_Relative timeout
User defined timestamp for completing operations.
Definition: gnunet-arm.c:114
GNUNET_SCHEDULER_TaskCallback cont
Continuation to call when done.
Definition: dht_api.c:57
void * cont_cls
Closure for cont.
Definition: dht_api.c:67
static struct GNUNET_DNS_Handle * handle
Handle to transport service.
A 512-bit hashcode.
GNUNET_DHT_RouteOption
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:961
static unsigned int size
Size of the "table".
Definition: peer.c:66
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.