-fixing source port randomization for DNS service
[oweals/gnunet.git] / src / dht / gnunet-service-dht.h
index 04f3e9fb3a7f7188d396885e61415897a48914e7..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 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;
 
-/**
- * The identity of our peer.
- */
-extern struct GNUNET_PeerIdentity GDS_my_identity;
-
 /**
  * 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