aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datacache_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-30 18:47:17 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-30 18:47:17 +0200
commitadef29b3ed00afd42669ae35a73951c59f08a41b (patch)
treec8d6c7f60716c551b587aed7a1efe0d6e756833f /src/include/gnunet_datacache_lib.h
parentf5a18b7466f342ac9624adcdb65f104aef8ecb5e (diff)
downloadgnunet-adef29b3ed00afd42669ae35a73951c59f08a41b.tar.gz
gnunet-adef29b3ed00afd42669ae35a73951c59f08a41b.zip
add proximity considerations to datacache
Diffstat (limited to 'src/include/gnunet_datacache_lib.h')
-rw-r--r--src/include/gnunet_datacache_lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gnunet_datacache_lib.h b/src/include/gnunet_datacache_lib.h
index 39a312b17..066b02ca9 100644
--- a/src/include/gnunet_datacache_lib.h
+++ b/src/include/gnunet_datacache_lib.h
@@ -105,6 +105,7 @@ typedef int
105 * 105 *
106 * @param h handle to the datacache 106 * @param h handle to the datacache
107 * @param key key to store data under 107 * @param key key to store data under
108 * @param am_closest am I the closest peer?
108 * @param data_size number of bytes in @a data 109 * @param data_size number of bytes in @a data
109 * @param data data to store 110 * @param data data to store
110 * @param type type of the value 111 * @param type type of the value
@@ -116,6 +117,7 @@ typedef int
116int 117int
117GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, 118GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
118 const struct GNUNET_HashCode *key, 119 const struct GNUNET_HashCode *key,
120 int am_closest,
119 size_t data_size, 121 size_t data_size,
120 const char *data, 122 const char *data,
121 enum GNUNET_BLOCK_Type type, 123 enum GNUNET_BLOCK_Type type,