aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datacache_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-06-03 15:07:09 +0200
committerChristian Grothoff <christian@grothoff.org>2018-06-03 15:07:09 +0200
commit18a1d4ec5085690d16345a52f3e75d059c834195 (patch)
treeeddcbab91006a80cfa604c802bb1fccdaae1103d /src/include/gnunet_datacache_plugin.h
parent2e619a454b7c78aa5f592debd6c8a31e7d7c1143 (diff)
downloadgnunet-18a1d4ec5085690d16345a52f3e75d059c834195.tar.gz
gnunet-18a1d4ec5085690d16345a52f3e75d059c834195.zip
proper datacache expiration by proximity first
Diffstat (limited to 'src/include/gnunet_datacache_plugin.h')
-rw-r--r--src/include/gnunet_datacache_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_datacache_plugin.h b/src/include/gnunet_datacache_plugin.h
index 9746b6493..726108c64 100644
--- a/src/include/gnunet_datacache_plugin.h
+++ b/src/include/gnunet_datacache_plugin.h
@@ -109,7 +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 xor_distance how close is @a key to our PID?
113 * @param size number of bytes in @a data 113 * @param size number of bytes in @a data
114 * @param data data to store 114 * @param data data to store
115 * @param type type of the value 115 * @param type type of the value
@@ -120,7 +120,7 @@ struct GNUNET_DATACACHE_PluginFunctions
120 */ 120 */
121 ssize_t (*put) (void *cls, 121 ssize_t (*put) (void *cls,
122 const struct GNUNET_HashCode *key, 122 const struct GNUNET_HashCode *key,
123 int am_closest, 123 uint32_t xor_distance,
124 size_t size, 124 size_t size,
125 const char *data, 125 const char *data,
126 enum GNUNET_BLOCK_Type type, 126 enum GNUNET_BLOCK_Type type,