diff options
Diffstat (limited to 'src/include/gnunet_datastore_plugin.h')
-rw-r--r-- | src/include/gnunet_datastore_plugin.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/gnunet_datastore_plugin.h b/src/include/gnunet_datastore_plugin.h index 7d1a3a369..fe4cefb0a 100644 --- a/src/include/gnunet_datastore_plugin.h +++ b/src/include/gnunet_datastore_plugin.h | |||
@@ -284,6 +284,9 @@ struct GNUNET_DATASTORE_PluginFunctions | |||
284 | 284 | ||
285 | /** | 285 | /** |
286 | * Get datum (of the specified type) with anonymity level zero. | 286 | * Get datum (of the specified type) with anonymity level zero. |
287 | * This function is allowed to ignore the 'offset' argument | ||
288 | * and instead return a random result (with zero anonymity of | ||
289 | * the correct type) if implementing an offset is expensive. | ||
287 | */ | 290 | */ |
288 | PluginGetType get_zero_anonymity; | 291 | PluginGetType get_zero_anonymity; |
289 | 292 | ||
@@ -297,8 +300,9 @@ struct GNUNET_DATASTORE_PluginFunctions | |||
297 | PluginGetRandom get_replication; | 300 | PluginGetRandom get_replication; |
298 | 301 | ||
299 | /** | 302 | /** |
300 | * Function to get a random expired item or, if none are expired, one | 303 | * Function to get a random expired item or, if none are expired, |
301 | * with a low priority. | 304 | * either the oldest entry or one with a low priority (depending |
305 | * on what was efficiently implementable). | ||
302 | */ | 306 | */ |
303 | PluginGetRandom get_expiration; | 307 | PluginGetRandom get_expiration; |
304 | 308 | ||