diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-30 18:47:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-30 18:47:17 +0200 |
commit | adef29b3ed00afd42669ae35a73951c59f08a41b (patch) | |
tree | c8d6c7f60716c551b587aed7a1efe0d6e756833f /src/include/gnunet_datacache_plugin.h | |
parent | f5a18b7466f342ac9624adcdb65f104aef8ecb5e (diff) | |
download | gnunet-adef29b3ed00afd42669ae35a73951c59f08a41b.tar.gz gnunet-adef29b3ed00afd42669ae35a73951c59f08a41b.zip |
add proximity considerations to datacache
Diffstat (limited to 'src/include/gnunet_datacache_plugin.h')
-rw-r--r-- | src/include/gnunet_datacache_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gnunet_datacache_plugin.h b/src/include/gnunet_datacache_plugin.h index 166c7bc3b..9746b6493 100644 --- a/src/include/gnunet_datacache_plugin.h +++ b/src/include/gnunet_datacache_plugin.h | |||
@@ -109,6 +109,7 @@ struct GNUNET_DATACACHE_PluginFunctions | |||
109 | * | 109 | * |
110 | * @param cls closure (internal context for the plugin) | 110 | * @param cls closure (internal context for the plugin) |
111 | * @param key key to store the value under | 111 | * @param key key to store the value under |
112 | * @param am_closest are we the closest peer? | ||
112 | * @param size number of bytes in @a data | 113 | * @param size number of bytes in @a data |
113 | * @param data data to store | 114 | * @param data data to store |
114 | * @param type type of the value | 115 | * @param type type of the value |
@@ -119,6 +120,7 @@ struct GNUNET_DATACACHE_PluginFunctions | |||
119 | */ | 120 | */ |
120 | ssize_t (*put) (void *cls, | 121 | ssize_t (*put) (void *cls, |
121 | const struct GNUNET_HashCode *key, | 122 | const struct GNUNET_HashCode *key, |
123 | int am_closest, | ||
122 | size_t size, | 124 | size_t size, |
123 | const char *data, | 125 | const char *data, |
124 | enum GNUNET_BLOCK_Type type, | 126 | enum GNUNET_BLOCK_Type type, |