Handling 'put', 'get' and 'get result' correctly
[oweals/gnunet.git] / src / dht / gnunet-service-dht.h
index c2e16151d976c51e28df67e261ce9e7ef0736772..f06b24b74f1cad52c665bce3c01b8d16b2388972 100644 (file)
 #define GNUNET_SERVICE_DHT_H
 
 #include "gnunet_util_lib.h"
+#include "gnunet_statistics_service.h"
+#include "gnunet_transport_service.h"
+
+#define DEBUG_DHT GNUNET_EXTRA_LOGGING
 
 /**
  * Configuration we use.
  */
-extern struct GNUNET_ConfigurationHandle *GDS_cfg;
-
+extern const struct GNUNET_CONFIGURATION_Handle *GDS_cfg;
 
 /**
  * Our handle to the BLOCK library.
  */
 extern struct GNUNET_BLOCK_Context *GDS_block_context;
 
+/**
+ * Handle for the statistics service.
+ */
+extern struct GNUNET_STATISTICS_Handle *GDS_stats;
+
+/**
+ * Our HELLO
+ */
+extern struct GNUNET_MessageHeader *GDS_my_hello;
+
+/**
+ * Handle to the transport service, for getting our hello
+ */
+extern struct GNUNET_TRANSPORT_Handle *GDS_transport_handle;
 
 #endif