diff options
Diffstat (limited to 'src/c_mpdview.h')
-rw-r--r-- | src/c_mpdview.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/c_mpdview.h b/src/c_mpdview.h index 4848997..d3940be 100644 --- a/src/c_mpdview.h +++ b/src/c_mpdview.h @@ -46,6 +46,10 @@ #ifndef __C_MPDVIEW_H__ #define __C_MPDVIEW_H__ +/* #include <mpd/connection.h> */ +/* #include <mpd/song.h> */ +/* #include <mpd/status.h> */ + #define BUFF_SIZE 262144 #define PROGNAME "mpdview" @@ -57,4 +61,16 @@ enum bool_e { TRUE }; +enum ret_e { + RET_OK, + RET_ERR +}; + +struct mpdview_s { + struct mpd_connection* conn; + struct mpd_status* status; + struct mpd_song* song; + enum mpd_state state; +}; + #endif /* __C_MPDVIEW_H__ */ |