aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmpdclient.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2005-01-19 19:00:28 +0000
committerAvuton Olrich <avuton@gmail.com>2005-01-19 19:00:28 +0000
commit616f275054d41e3db2c43b022a36365d6b9aa4cc (patch)
treec312276aa5b3caa1654feddd691386eb9d802255 /src/libmpdclient.h
parentc39b8e1361ef3026104dfdf107a9fd57bd5b3022 (diff)
downloadmpd-616f275054d41e3db2c43b022a36365d6b9aa4cc.tar.gz
mpd-616f275054d41e3db2c43b022a36365d6b9aa4cc.tar.xz
mpd-616f275054d41e3db2c43b022a36365d6b9aa4cc.zip
libmpdclient update
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2889 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/libmpdclient.h18
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