-bump name to 97
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_local.c
index 77f1efeb19e618b53ec2539ecf1e9dade402b529..9714034ba44f1f9c4e237952c41e176adcc2e396 100644 (file)
 
 
 #include "platform.h"
+#include "gnunet_util_lib.h"
+
+#include "gnunet_statistics_service.h"
+
 #include "mesh_enc.h"
 #include "mesh_protocol_enc.h" // GNUNET_MESH_Data is shared
 
 #include "gnunet-service-mesh_local.h"
 #include "gnunet-service-mesh_tunnel.h"
 
-#define LOG (level, ...) GNUNET_log_from ("mesh-loc", level, __VA_ARGS__)
+#define LOG(level, ...) GNUNET_log_from(level,"mesh-loc",__VA_ARGS__)
 
 /******************************************************************************/
 /********************************   STRUCTS  **********************************/
@@ -86,6 +90,11 @@ struct MeshClient
 /*******************************   GLOBALS  ***********************************/
 /******************************************************************************/
 
+/**
+ * Global handle to the statistics service.
+ */
+extern struct GNUNET_STATISTICS_Handle *stats;
+
 /**
  * Handle to server lib.
  */