aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_dht.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-10-08 14:06:30 +0000
committerBart Polot <bart@net.in.tum.de>2013-10-08 14:06:30 +0000
commitede5e3950ffad6c6b812d1f210f90cd066961cad (patch)
tree973a2067d6b80bf3c5fd1503a05117a3d37d0c40 /src/mesh/gnunet-service-mesh_dht.c
parentb8cfe698546bd64e4e8a062cf923cf5351f2a49a (diff)
downloadgnunet-ede5e3950ffad6c6b812d1f210f90cd066961cad.tar.gz
gnunet-ede5e3950ffad6c6b812d1f210f90cd066961cad.zip
- share one statistics handle across all subsystems
Diffstat (limited to 'src/mesh/gnunet-service-mesh_dht.c')
-rw-r--r--src/mesh/gnunet-service-mesh_dht.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_dht.c b/src/mesh/gnunet-service-mesh_dht.c
index e09c6b65e..3beb2da8a 100644
--- a/src/mesh/gnunet-service-mesh_dht.c
+++ b/src/mesh/gnunet-service-mesh_dht.c
@@ -23,6 +23,7 @@
23#include "gnunet_util_lib.h" 23#include "gnunet_util_lib.h"
24 24
25#include "gnunet_dht_service.h" 25#include "gnunet_dht_service.h"
26#include "gnunet_statistics_service.h"
26 27
27#include "mesh_path.h" 28#include "mesh_path.h"
28#include "gnunet-service-mesh_dht.h" 29#include "gnunet-service-mesh_dht.h"
@@ -56,6 +57,11 @@ struct GMD_search_handle
56/******************************************************************************/ 57/******************************************************************************/
57 58
58/** 59/**
60 * Global handle to the statistics service.
61 */
62extern struct GNUNET_STATISTICS_Handle *stats;
63
64/**
59 * Handle to use DHT. 65 * Handle to use DHT.
60 */ 66 */
61static struct GNUNET_DHT_Handle *dht_handle; 67static struct GNUNET_DHT_Handle *dht_handle;