X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fdht%2Fgnunet-service-dht.h;h=f06b24b74f1cad52c665bce3c01b8d16b2388972;hb=52d396bb08d5621f7c0af2920a373d87d321cb63;hp=c2e16151d976c51e28df67e261ce9e7ef0736772;hpb=858f4546a0044b3ea9abdfbe6dda2e95d7c04dc1;p=oweals%2Fgnunet.git diff --git a/src/dht/gnunet-service-dht.h b/src/dht/gnunet-service-dht.h index c2e16151d..f06b24b74 100644 --- a/src/dht/gnunet-service-dht.h +++ b/src/dht/gnunet-service-dht.h @@ -27,17 +27,34 @@ #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