aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 13:57:26 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 13:57:26 +0200
commitf59986fad5dd8e00beffcd038112d81963408539 (patch)
tree4af8b69b754ba0e2600b3d1418b8f8fae7502161 /src/playlist.h
parentdc8b64fdef1f8bc4499eef3aca17ed336ea3569b (diff)
downloadmpd-f59986fad5dd8e00beffcd038112d81963408539.tar.gz
mpd-f59986fad5dd8e00beffcd038112d81963408539.tar.xz
mpd-f59986fad5dd8e00beffcd038112d81963408539.zip
playlist: pass struct client to loadPlaylist()
The function loadPlaylist() wants to report incremental errors to the client, for this reason we cannot remove its protocol dependency right now. Instead, make it use the client struct instead of the raw file descriptor.
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 4e160cf14..35cbfa171 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -111,7 +111,7 @@ enum playlist_result swapSongsInPlaylist(int song1, int song2);
enum playlist_result swapSongsInPlaylistById(int id1, int id2);
-enum playlist_result loadPlaylist(int fd, const char *utf8file);
+enum playlist_result loadPlaylist(struct client *client, const char *utf8file);
int getPlaylistRepeatStatus(void);