aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation/tutorial-examples/019.c
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2017-12-02 22:34:21 +0100
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2017-12-02 22:34:21 +0100
commitb16fa2d88aabb18f222b40136d6ace68ffc104c6 (patch)
tree6d46f086f018b6e6c169a8d8312b5990c33c3561 /doc/documentation/tutorial-examples/019.c
parenta9a7ac802811e76e33b54040bf31f00ea9438cea (diff)
parent862e488e08ca71db56dedd59059c5bb1a8c130a5 (diff)
Merge remote-tracking branch 'origin/master' into identity_abe
Diffstat (limited to 'doc/documentation/tutorial-examples/019.c')
-rw-r--r--doc/documentation/tutorial-examples/019.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/documentation/tutorial-examples/019.c b/doc/documentation/tutorial-examples/019.c
new file mode 100644
index 0000000000..aaf0015169
--- /dev/null
+++ b/doc/documentation/tutorial-examples/019.c
@@ -0,0 +1,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)
+