aboutsummaryrefslogtreecommitdiffstats
path: root/libmpdclient.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-05 11:21:43 +0000
committerKalle Wallin <kaw@linux.se>2004-06-05 11:21:43 +0000
commitf55a67b3f882641abe5a9b14b045d7ce71964af7 (patch)
tree181c15b1c59df30b2e28058f2648e5e701e57c4f /libmpdclient.h
parent677eb1ad30321d83f6196672ea1798c0e1712870 (diff)
downloadmpd-f55a67b3f882641abe5a9b14b045d7ce71964af7.tar.gz
mpd-f55a67b3f882641abe5a9b14b045d7ce71964af7.tar.xz
mpd-f55a67b3f882641abe5a9b14b045d7ce71964af7.zip
Changed directory layout (for future use of gettext)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/libmpdclient.h (renamed from libmpdclient.h)8
1 files changed, 5 insertions, 3 deletions
diff --git a/libmpdclient.h b/src/libmpdclient.h
index 6d749fbd2..e5e58791c 100644
--- a/libmpdclient.h
+++ b/src/libmpdclient.h
@@ -135,6 +135,8 @@ typedef struct mpd_Status {
int bits;
/* audio channels */
int channels;
+ /* 1 if mpd is updating, 0 otherwise */
+ int updatingDb;
/* error */
char * error;
} mpd_Status;
@@ -327,9 +329,6 @@ char * mpd_getNextAlbum(mpd_Connection * connection);
void mpd_sendListCommand(mpd_Connection * connection, int table,
const char * arg1);
-void mpd_sendListAlbumsCommand(mpd_Connection * connection,
- const char * artist);
-
/* SIMPLE COMMANDS */
void mpd_sendAddCommand(mpd_Connection * connection, const char * file);
@@ -378,6 +377,9 @@ void mpd_sendCrossfadeCommand(mpd_Connection * connection, int seconds);
void mpd_sendUpdateCommand(mpd_Connection * connection);
+/* returns the update job id, call this after a update command*/
+int mpd_getUpdateId(mpd_Connection * connection);
+
void mpd_sendPasswordCommand(mpd_Connection * connection, const char * pass);
/* after executing a command, when your done with it to get its status