stats: no CamelCase

Renamed functions and types.
This commit is contained in:
Max Kellermann
2009-01-18 15:22:26 +01:00
parent e8c148ab02
commit 0d449d8df7
4 changed files with 26 additions and 23 deletions
+13 -10
View File
@@ -21,20 +21,23 @@
struct client;
typedef struct _Stats {
unsigned long daemonStart;
int numberOfSongs;
unsigned long dbPlayTime;
/*unsigned long playTime;
unsigned long songsPlayed; */
} Stats;
struct stats {
unsigned long start_time;
extern Stats stats;
/** number of song files in the music directory */
unsigned song_count;
void initStats(void);
/** sum of all song durations in the music directory (in
seconds) */
unsigned long song_duration;
};
extern struct stats stats;
void stats_global_init(void);
void stats_update(void);
int printStats(struct client *client);
int stats_print(struct client *client);
#endif