aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stats.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stats.h b/src/stats.h
index 0c82cb16c..c783eb052 100644
--- a/src/stats.h
+++ b/src/stats.h
@@ -19,10 +19,12 @@
#ifndef MPD_STATS_H
#define MPD_STATS_H
+#include <glib.h>
+
struct client;
struct stats {
- unsigned long start_time;
+ GTimer *timer;
/** number of song files in the music directory */
unsigned song_count;
@@ -42,6 +44,8 @@ extern struct stats stats;
void stats_global_init(void);
+void stats_global_finish(void);
+
void stats_update(void);
int stats_print(struct client *client);