diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 14:02:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 14:02:40 +0200 |
commit | 438b56f0bab3e814185d2f3fa2f03df82829302a (patch) | |
tree | 9904210c41bb2357baeefa7c440f25ce21612b47 /src/ls.h | |
parent | 4665f2bf32c59f263d22c2315d60509c9ae8854b (diff) | |
download | mpd-438b56f0bab3e814185d2f3fa2f03df82829302a.tar.gz mpd-438b56f0bab3e814185d2f3fa2f03df82829302a.tar.xz mpd-438b56f0bab3e814185d2f3fa2f03df82829302a.zip |
ls: don't pass "fd" to lsPlaylists(), printRemoteUrlHandlers()
Pass the client struct instead of the raw file descriptor.
Diffstat (limited to 'src/ls.h')
-rw-r--r-- | src/ls.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -21,7 +21,9 @@ #include "decoder_list.h" -int lsPlaylists(int fd, const char *utf8path); +struct client; + +int lsPlaylists(struct client *client, const char *utf8path); const char *getSuffix(const char *utf8file); @@ -40,7 +42,7 @@ struct decoder_plugin *hasMusicSuffix(const char *utf8file, unsigned int next); struct decoder_plugin *isMusic(const char *utf8file, time_t * mtime, unsigned int next); -int printRemoteUrlHandlers(int fd); +int printRemoteUrlHandlers(struct client *client); int isFile(const char *utf8file, time_t * mtime); |