arg
[oweals/gnunet.git] / src / fs / gnunet-service-fs.h
index a82206e9c5eb69d046e47daa4741889ad6affd90..ed7cd2e7b287d5460adc102a0184a31fe362f431 100644 (file)
 #include "gnunet_block_lib.h"
 #include "fs.h"
 
+#define DEBUG_FS GNUNET_YES
+
+#define DEBUG_FS_CLIENT GNUNET_NO
+
 
 /**
  * Should we introduce random latency in processing?  Required for proper
 #define SUPPORT_DELAYS GNUNET_NO
 
 
+/**
+ * At what frequency should our datastore load decrease
+ * automatically (since if we don't use it, clearly the
+ * load must be going down).
+ */
+#define DATASTORE_LOAD_AUTODECLINE GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 250)
+
+
 
 /**
  * A connected peer.
@@ -70,6 +82,10 @@ struct GSF_PendingRequest;
  */
 struct GSF_LocalClient;
 
+/**
+ * Information kept per plan per request ('pe' module).
+ */
+struct GSF_RequestPlan;
 
 /**
  * Our connection to the datastore.
@@ -131,6 +147,10 @@ extern unsigned int GSF_cover_content_count;
  */
 extern struct GNUNET_BLOCK_Context *GSF_block_ctx;
 
+/**
+ * Are we introducing randomized delays for better anonymity?
+ */
+extern int GSF_enable_randomized_delays;
 
 /**
  * Test if the DATABASE (GET) load on this peer is too high