aboutsummaryrefslogtreecommitdiff
path: root/src
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
parentc27163b7e9d661136e1a1d5fdb98477cd286b32e (diff)
downloadgnunet-cdbead67a9ac4bfb680b34e3d971028978c8ebe0.tar.gz
gnunet-cdbead67a9ac4bfb680b34e3d971028978c8ebe0.zip
update
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/include/gnunet_datastore_plugin.h6
-rw-r--r--src/include/gnunet_datastore_service.h4
3 files changed, 8 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1b88b08d2..7b40eeb73 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,7 +8,6 @@ if HAVE_OPENSSL
8endif 8endif
9endif 9endif
10if HAVE_EXPERIMENTAL 10if HAVE_EXPERIMENTAL
11 DS_exp = datastore
12 FS_exp = fs 11 FS_exp = fs
13endif 12endif
14 13
@@ -22,7 +21,7 @@ SUBDIRS = \
22 $(MONKEY_DIR) \ 21 $(MONKEY_DIR) \
23 peerinfo \ 22 peerinfo \
24 datacache \ 23 datacache \
25 $(DS_exp) \ 24 datastore \
26 template \ 25 template \
27 nat \ 26 nat \
28 transport \ 27 transport \
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.