-options to play with
[oweals/gnunet.git] / src / fs / gnunet-service-fs.h
index 0c796bf9cc10f2d321fd2b2a8611e3f493dd277c..3213712c80f940952e37b13e4b6b907a45be3df1 100644 (file)
@@ -119,7 +119,7 @@ struct GetMessage
   /**
    * Which of the optional hash codes are present at the end of the
    * message?  See GET_MESSAGE_BIT_xx constants.  For each bit that is
-   * set, an additional GNUNET_HashCode with the respective content
+   * set, an additional struct GNUNET_HashCode with the respective content
    * (in order of the bits) will be appended to the end of the GET
    * message.
    */
@@ -129,7 +129,7 @@ struct GetMessage
    * Hashcodes of the file(s) we're looking for.
    * Details depend on the query type.
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   /* this is followed by hash codes as specified in the "hash_bitmap";
    * after that, an optional bloomfilter (with bits set for replies
@@ -183,10 +183,9 @@ struct GSF_LocalClient;
 struct GSF_RequestPlan;
 
 /**
- * DLL of request plans a particular pending request is
- * involved with.
+ * Bijection between request plans and pending requests.
  */
-struct GSF_RequestPlanReference;
+struct GSF_PendingRequestPlanBijection;
 
 /**
  * Our connection to the datastore.
@@ -258,6 +257,12 @@ extern struct GNUNET_BLOCK_Context *GSF_block_ctx;
  */
 extern int GSF_enable_randomized_delays;
 
+/**
+ * Size of the datastore queue we assume for common requests.
+ */
+extern unsigned int GSF_datastore_queue_size;
+
+
 /**
  * Test if the DATABASE (GET) load on this peer is too high
  * to even consider processing the query at