From 438b56f0bab3e814185d2f3fa2f03df82829302a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 14:02:40 +0200 Subject: ls: don't pass "fd" to lsPlaylists(), printRemoteUrlHandlers() Pass the client struct instead of the raw file descriptor. --- src/ls.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ls.h') 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); -- cgit v1.2.3