aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:16 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:16 +0200
commit3db333b5a46f8d147043afc4d400d18851d3606d (patch)
tree882c370396bc53b035c14a6bf3032fdcc98b8e0e /src/player.h
parent6df980a996192fc459a0b60b73fa7a33a24a2f49 (diff)
downloadmpd-3db333b5a46f8d147043afc4d400d18851d3606d.tar.gz
mpd-3db333b5a46f8d147043afc4d400d18851d3606d.tar.xz
mpd-3db333b5a46f8d147043afc4d400d18851d3606d.zip
player: no "fd" and no return value
Most player*() functions do not actually use the file descriptor, and always return 0 (success). Eliminate them to get a leaner interface.
Diffstat (limited to '')
-rw-r--r--src/player.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/player.h b/src/player.h
index 08405032d..2b1e6d992 100644
--- a/src/player.h
+++ b/src/player.h
@@ -85,13 +85,13 @@ typedef struct _PlayerControl {
void player_command_finished(void);
-int playerPlay(int fd, Song * song);
+void playerPlay(Song * song);
-int playerSetPause(int fd, int pause_flag);
+void playerSetPause(int pause_flag);
-int playerPause(int fd);
+void playerPause(void);
-int playerStop(int fd);
+void playerStop(void);
void playerKill(void);
@@ -109,7 +109,7 @@ char *getPlayerErrorStr(void);
int getPlayerError(void);
-int playerWait(int fd);
+void playerWait(void);
int queueSong(Song * song);