aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh_peer.c')
-rw-r--r--src/mesh/gnunet-service-mesh_peer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c
index 008ba5a51..6c8963864 100644
--- a/src/mesh/gnunet-service-mesh_peer.c
+++ b/src/mesh/gnunet-service-mesh_peer.c
@@ -23,6 +23,7 @@
23#include "gnunet_util_lib.h" 23#include "gnunet_util_lib.h"
24 24
25#include "gnunet_core_service.h" 25#include "gnunet_core_service.h"
26#include "gnunet_statistics_service.h"
26 27
27#include "mesh_protocol_enc.h" 28#include "mesh_protocol_enc.h"
28 29
@@ -106,6 +107,11 @@ struct MeshPeer
106/******************************************************************************/ 107/******************************************************************************/
107 108
108/** 109/**
110 * Global handle to the statistics service.
111 */
112extern struct GNUNET_STATISTICS_Handle *stats;
113
114/**
109 * Peers known, indexed by PeerIdentity (MeshPeer). 115 * Peers known, indexed by PeerIdentity (MeshPeer).
110 */ 116 */
111static struct GNUNET_CONTAINER_MultiPeerMap *peers; 117static struct GNUNET_CONTAINER_MultiPeerMap *peers;