projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- opaque mq structs
[oweals/gnunet.git]
/
src
/
fs
/
gnunet-service-fs.h
diff --git
a/src/fs/gnunet-service-fs.h
b/src/fs/gnunet-service-fs.h
index 70e65186d11a1173249853a106908bc4293a33ff..8830058e99a4ca9712c34871e027267590c1f0f7 100644
(file)
--- a/
src/fs/gnunet-service-fs.h
+++ b/
src/fs/gnunet-service-fs.h
@@
-31,6
+31,7
@@
#include "gnunet_transport_service.h"
#include "gnunet_core_service.h"
#include "gnunet_block_lib.h"
#include "gnunet_transport_service.h"
#include "gnunet_core_service.h"
#include "gnunet_block_lib.h"
+#include "gnunet_ats_service.h"
#include "fs.h"
#include "fs.h"
@@
-62,12
+63,6
@@
*/
#define GET_MESSAGE_BIT_RETURN_TO 1
*/
#define GET_MESSAGE_BIT_RETURN_TO 1
-/**
- * The hash of the public key of the target
- * namespace is included (for SKS queries).
- */
-#define GET_MESSAGE_BIT_SKS_NAMESPACE 2
-
/**
* The peer identity of a peer that had claimed to have the content
* previously is included (can be used if responder-anonymity is not
/**
* The peer identity of a peer that had claimed to have the content
* previously is included (can be used if responder-anonymity is not
@@
-183,10
+178,9
@@
struct GSF_LocalClient;
struct GSF_RequestPlan;
/**
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.
/**
* Our connection to the datastore.
@@
-224,6
+218,12
@@
extern struct GNUNET_LOAD_Value *GSF_rt_entry_lifetime;
*/
extern struct GNUNET_TIME_Relative GSF_avg_latency;
*/
extern struct GNUNET_TIME_Relative GSF_avg_latency;
+/**
+ * Handle to ATS service.
+ */
+extern struct GNUNET_ATS_PerformanceHandle *GSF_ats;
+
+
/**
* Typical priorities we're seeing from other peers right now. Since
* most priorities will be zero, this value is the weighted average of
/**
* Typical priorities we're seeing from other peers right now. Since
* most priorities will be zero, this value is the weighted average of
@@
-258,6
+258,12
@@
extern struct GNUNET_BLOCK_Context *GSF_block_ctx;
*/
extern int GSF_enable_randomized_delays;
*/
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
/**
* Test if the DATABASE (GET) load on this peer is too high
* to even consider processing the query at