aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_template.c
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-06-04 23:50:13 +0200
committerPhil <phil.buschmann@tum.de>2018-06-04 23:50:13 +0200
commitbd01c63635f13a47bc295255e9485b785921f797 (patch)
tree058bca7c472eba5144cf89da69223f152dae353d /src/datacache/plugin_datacache_template.c
parent4ab30f893f22c75d1aafcc9584cd7eac6c4d82a0 (diff)
parent324f6168c2374d7bb71c3632fb6521860d8fdfa1 (diff)
downloadgnunet-bd01c63635f13a47bc295255e9485b785921f797.tar.gz
gnunet-bd01c63635f13a47bc295255e9485b785921f797.zip
-merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api
Diffstat (limited to 'src/datacache/plugin_datacache_template.c')
-rw-r--r--src/datacache/plugin_datacache_template.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_template.c b/src/datacache/plugin_datacache_template.c
index b9baa64d3..1064d3125 100644
--- a/src/datacache/plugin_datacache_template.c
+++ b/src/datacache/plugin_datacache_template.c
@@ -45,6 +45,7 @@ struct Plugin
45 * 45 *
46 * @param cls closure (our `struct Plugin`) 46 * @param cls closure (our `struct Plugin`)
47 * @param key key to store @a data under 47 * @param key key to store @a data under
48 * @param xor_distance distance of @a key to our PID
48 * @param size number of bytes in @a data 49 * @param size number of bytes in @a data
49 * @param data data to store 50 * @param data data to store
50 * @param type type of the value 51 * @param type type of the value
@@ -56,6 +57,7 @@ struct Plugin
56static ssize_t 57static ssize_t
57template_plugin_put (void *cls, 58template_plugin_put (void *cls,
58 const struct GNUNET_HashCode *key, 59 const struct GNUNET_HashCode *key,
60 uint32_t xor_distance,
59 size_t size, 61 size_t size,
60 const char *data, 62 const char *data,
61 enum GNUNET_BLOCK_Type type, 63 enum GNUNET_BLOCK_Type type,