diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-06-03 15:07:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-06-03 15:07:09 +0200 |
commit | 18a1d4ec5085690d16345a52f3e75d059c834195 (patch) | |
tree | eddcbab91006a80cfa604c802bb1fccdaae1103d /src/include/gnunet_datacache_lib.h | |
parent | 2e619a454b7c78aa5f592debd6c8a31e7d7c1143 (diff) | |
download | gnunet-18a1d4ec5085690d16345a52f3e75d059c834195.tar.gz gnunet-18a1d4ec5085690d16345a52f3e75d059c834195.zip |
proper datacache expiration by proximity first
Diffstat (limited to 'src/include/gnunet_datacache_lib.h')
-rw-r--r-- | src/include/gnunet_datacache_lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_datacache_lib.h b/src/include/gnunet_datacache_lib.h index 066b02ca9..05ac779d6 100644 --- a/src/include/gnunet_datacache_lib.h +++ b/src/include/gnunet_datacache_lib.h | |||
@@ -105,7 +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 how close is @a key to our pid? |
109 | * @param data_size number of bytes in @a data | 109 | * @param data_size number of bytes in @a data |
110 | * @param data data to store | 110 | * @param data data to store |
111 | * @param type type of the value | 111 | * @param type type of the value |
@@ -117,7 +117,7 @@ typedef int | |||
117 | int | 117 | int |
118 | GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, | 118 | GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, |
119 | const struct GNUNET_HashCode *key, | 119 | const struct GNUNET_HashCode *key, |
120 | int am_closest, | 120 | uint32_t xor_distance, |
121 | size_t data_size, | 121 | size_t data_size, |
122 | const char *data, | 122 | const char *data, |
123 | enum GNUNET_BLOCK_Type type, | 123 | enum GNUNET_BLOCK_Type type, |