Fix XMMS2 related crash (sf.net #2806111 and #2805310, thanks Lassi).
[monky] / src / xmms2.h
1 /* Conky, a system monitor, based on torsmo
2  *
3  * Any original torsmo code is licensed under the BSD license
4  *
5  * All code written since the fork of torsmo is licensed under the GPL
6  *
7  * Please see COPYING for details
8  *
9  * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
10  *      (see AUTHORS)
11  * All rights reserved.
12  *
13  * This program is free software: you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation, either version 3 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  * You should have received a copy of the GNU General Public License
23  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
24  *
25  */
26
27 #ifndef XMMS2_H_
28 #define XMMS2_H_
29
30 #include <xmmsclient/xmmsclient.h>
31
32 struct xmms2_s {
33         char *artist;
34         char *album;
35         char *title;
36         char *genre;
37         char *comment;
38         char *url;
39         char *date;
40         char *playlist;
41         int tracknr;
42         int bitrate;
43         unsigned int id;
44         int duration;
45         int elapsed;
46         int timesplayed;
47         float size;
48
49         float progress;
50         char *status;
51         int conn_state;
52 };
53
54 void update_xmms2(void);
55
56 #endif /*XMMS2_H_*/