aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-04-15 11:29:01 +0000
committerChristian Grothoff <christian@grothoff.org>2011-04-15 11:29:01 +0000
commitcdbead67a9ac4bfb680b34e3d971028978c8ebe0 (patch)
tree06a3489d24f269d7488ac7c4604b34530d6022b5 /src/include
parentc27163b7e9d661136e1a1d5fdb98477cd286b32e (diff)
downloadgnunet-cdbead67a9ac4bfb680b34e3d971028978c8ebe0.tar.gz
gnunet-cdbead67a9ac4bfb680b34e3d971028978c8ebe0.zip
update
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_datastore_plugin.h6
-rw-r--r--src/include/gnunet_datastore_service.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/src/include/gnunet_datastore_plugin.h b/src/include/gnunet_datastore_plugin.h
index f499cb827..a5c548146 100644
--- a/src/include/gnunet_datastore_plugin.h
+++ b/src/include/gnunet_datastore_plugin.h
@@ -325,9 +325,9 @@ struct GNUNET_DATASTORE_PluginFunctions
325 /** 325 /**
326 * Function to get a random item with high replication score from 326 * Function to get a random item with high replication score from
327 * the database, lowering the item's replication score. Returns a 327 * the database, lowering the item's replication score. Returns a
328 * single, not expired, random item from those with the highest 328 * single random item from those with the highest replication
329 * replication counters. The item's replication counter is 329 * counters. The item's replication counter is decremented by one
330 * decremented by one IF it was positive before. 330 * IF it was positive before.
331 */ 331 */
332 PluginRandomGet replication_get; 332 PluginRandomGet replication_get;
333 333
diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h
index e18d4ef12..53d04e517 100644
--- a/src/include/gnunet_datastore_service.h
+++ b/src/include/gnunet_datastore_service.h
@@ -52,6 +52,10 @@ struct GNUNET_DATASTORE_QueueEntry;
52 */ 52 */
53struct GNUNET_DATASTORE_Handle; 53struct GNUNET_DATASTORE_Handle;
54 54
55/**
56 * Maximum size of a value that can be stored in the datastore.
57 */
58#define GNUNET_DATASTORE_MAX_VALUE_SIZE 65536
55 59
56/** 60/**
57 * Connect to the datastore service. 61 * Connect to the datastore service.