diff options
Diffstat (limited to 'doc/old/tutorial/examples/022.c')
-rw-r--r-- | doc/old/tutorial/examples/022.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/old/tutorial/examples/022.c b/doc/old/tutorial/examples/022.c new file mode 100644 index 000000000..a373619bd --- /dev/null +++ b/doc/old/tutorial/examples/022.c | |||
@@ -0,0 +1,8 @@ | |||
1 | static int | ||
2 | block_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 | |||