aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 14:02:40 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 14:02:40 +0200
commit438b56f0bab3e814185d2f3fa2f03df82829302a (patch)
tree9904210c41bb2357baeefa7c440f25ce21612b47 /src/ls.h
parent4665f2bf32c59f263d22c2315d60509c9ae8854b (diff)
downloadmpd-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 '')
-rw-r--r--src/ls.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ls.h b/src/ls.h
index af414e88a..bba11ff00 100644
--- a/src/ls.h
+++ b/src/ls.h
@@ -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);