2009-03-13 18:43:16 +01:00
|
|
|
/*
|
2016-02-26 17:54:05 +01:00
|
|
|
* Copyright 2003-2016 The Music Player Daemon Project
|
2009-03-13 18:43:16 +01:00
|
|
|
* http://www.musicpd.org
|
2004-02-24 00:41:20 +01:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2009-03-13 18:43:16 +01:00
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2004-02-24 00:41:20 +01:00
|
|
|
*/
|
|
|
|
|
2013-10-02 12:14:07 +02:00
|
|
|
#ifndef MPD_STATS_HXX
|
|
|
|
#define MPD_STATS_HXX
|
2004-02-24 00:41:20 +01:00
|
|
|
|
2015-08-06 22:10:25 +02:00
|
|
|
class Response;
|
|
|
|
struct Partition;
|
2008-09-07 14:02:57 +02:00
|
|
|
|
2015-03-03 20:05:08 +01:00
|
|
|
void
|
|
|
|
stats_global_init();
|
2004-02-24 00:41:20 +01:00
|
|
|
|
2014-01-10 23:40:05 +01:00
|
|
|
void
|
|
|
|
stats_invalidate();
|
2009-01-04 20:57:06 +01:00
|
|
|
|
2012-08-28 20:52:07 +02:00
|
|
|
void
|
2015-08-06 22:10:25 +02:00
|
|
|
stats_print(Response &r, const Partition &partition);
|
2004-02-24 00:41:20 +01:00
|
|
|
|
|
|
|
#endif
|