aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation/tutorial-examples/022.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/documentation/tutorial-examples/022.c')
-rw-r--r--doc/documentation/tutorial-examples/022.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/documentation/tutorial-examples/022.c b/doc/documentation/tutorial-examples/022.c
new file mode 100644
index 000000000..a373619bd
--- /dev/null
+++ b/doc/documentation/tutorial-examples/022.c
@@ -0,0 +1,8 @@
1static int
2block_plugin_SERVICE_get_key (void *cls, enum GNUNET_BLOCK_Type type,
3 const void *block, size_t block_size,
4 struct GNUNET_HashCode *key)
5{
6 // Store the key in the key argument, return GNUNET_OK on success.
7}
8