aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/datacache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datacache/datacache.c')
-rw-r--r--src/datacache/datacache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datacache/datacache.c b/src/datacache/datacache.c
index 0646019bd..7c0a975da 100644
--- a/src/datacache/datacache.c
+++ b/src/datacache/datacache.c
@@ -260,6 +260,7 @@ GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h)
260 * 260 *
261 * @param h handle to the datacache 261 * @param h handle to the datacache
262 * @param key key to store data under 262 * @param key key to store data under
263 * @param xor_distance distance of @a key to our PID
263 * @param data_size number of bytes in @a data 264 * @param data_size number of bytes in @a data
264 * @param data data to store 265 * @param data data to store
265 * @param type type of the value 266 * @param type type of the value
@@ -271,6 +272,7 @@ GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h)
271int 272int
272GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, 273GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
273 const struct GNUNET_HashCode *key, 274 const struct GNUNET_HashCode *key,
275 uint32_t xor_distance,
274 size_t data_size, 276 size_t data_size,
275 const char *data, 277 const char *data,
276 enum GNUNET_BLOCK_Type type, 278 enum GNUNET_BLOCK_Type type,
@@ -282,6 +284,7 @@ GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
282 284
283 used = h->api->put (h->api->cls, 285 used = h->api->put (h->api->cls,
284 key, 286 key,
287 xor_distance,
285 data_size, 288 data_size,
286 data, 289 data,
287 type, 290 type,