aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 14:02:52 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 14:02:52 +0200
commit93e6d4c3adff4cfd06af77082793a0ba0fcf5fa5 (patch)
treed85131c327969b910006c326ebb5cbb232e2c0ac /src/playlist.h
parent709ec6fa39e031953f64bab6c3e84d7688e04632 (diff)
downloadmpd-93e6d4c3adff4cfd06af77082793a0ba0fcf5fa5.tar.gz
mpd-93e6d4c3adff4cfd06af77082793a0ba0fcf5fa5.tar.xz
mpd-93e6d4c3adff4cfd06af77082793a0ba0fcf5fa5.zip
playlist: don't pass "fd" to showPlaylist(), playlistChangesPosId()
Pass the client struct instead of the raw file descriptor.
Diffstat (limited to '')
-rw-r--r--src/playlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 35cbfa171..f6a8e77ba 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -73,7 +73,7 @@ int addToStoredPlaylist(const char *file, const char *utf8file);
enum playlist_result addSongToPlaylist(Song * song, int *added_id);
-void showPlaylist(int fd);
+void showPlaylist(struct client *client);
enum playlist_result deleteFromPlaylist(int song);
@@ -139,7 +139,7 @@ void playlistVersionChange(void);
int playlistChanges(struct client *client, mpd_uint32 version);
-int playlistChangesPosId(int fd, mpd_uint32 version);
+int playlistChangesPosId(struct client *client, mpd_uint32 version);
int PlaylistInfo(struct client *client, const char *utf8file, int detail);