aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation/tutorial-examples/019.c
blob: aaf00151698042cc0d0db131ee4c60906dff1db3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
message_sent_cont (void *cls,
                   const struct GNUNET_SCHEDULER_TaskContext *tc)
{
  // Request has left local node
}

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,
                struct GNUNET_TIME_Relative timeout,
                GNUNET_DHT_PutContinuation cont, void *cont_cls)