diff options
Diffstat (limited to 'src/libmpdclient.h')
-rw-r--r-- | src/libmpdclient.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libmpdclient.h b/src/libmpdclient.h index 04b70fd94..9298a09c2 100644 --- a/src/libmpdclient.h +++ b/src/libmpdclient.h @@ -231,6 +231,8 @@ typedef struct _mpd_Song { /* name, maybe NULL if there is no tag; it's the name of the current * song, f.e. the icyName of the stream */ char * name; + /* date */ + char *date; /* length of song in seconds, check that it is not MPD_SONG_NO_TIME */ int time; /* if plchanges/playlistinfo/playlistid used, is the position of the @@ -473,6 +475,22 @@ void mpd_sendCommandListEnd(mpd_Connection * connection); * returns -1 if it advanced to an OK or ACK */ int mpd_nextListOkCommand(mpd_Connection * connection); +typedef struct _mpd_OutputEntity { + int id; + char * name; + int enabled; +} mpd_OutputEntity; + +void mpd_sendOutputsCommand(mpd_Connection * connection); + +mpd_OutputEntity * mpd_getNextOutput(mpd_Connection * connection); + +void mpd_sendEnableOutputCommand(mpd_Connection * connection, int outputId); + +void mpd_sendDisableOutputCommand(mpd_Connection * connection, int outputId); + +void mpd_freeOutputElement(mpd_OutputEntity * output); + #ifdef __cplusplus } #endif |