#include "gnunet_transport_service.h"
#include "gnunet_core_service.h"
#include "gnunet_block_lib.h"
+#include "gnunet_ats_service.h"
#include "fs.h"
{
/**
- * Message type will be GNUNET_MESSAGE_TYPE_FS_GET.
+ * Message type will be #GNUNET_MESSAGE_TYPE_FS_GET.
*/
struct GNUNET_MessageHeader header;
/**
* 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 struct 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.
*/
*/
struct GNUNET_HashCode query;
- /* this is followed by hash codes as specified in the "hash_bitmap";
+ /* this is followed by PeerIdentities as specified in the "hash_bitmap";
* after that, an optional bloomfilter (with bits set for replies
* that should be suppressed) can be present */
};
*/
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