aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/FileInputPlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-02 18:38:33 +0200
committerMax Kellermann <max@duempel.org>2014-10-02 20:44:03 +0200
commit0d38bd9b3bf9b978c3e9a08324ff8ea764a530bd (patch)
treeccadf4b65e17565a5db9a27e3046d4a49a0700a5 /src/input/plugins/FileInputPlugin.hxx
parent2f02e49b9f353d8c0e75711308f88e98e1a6a97c (diff)
downloadmpd-0d38bd9b3bf9b978c3e9a08324ff8ea764a530bd.tar.gz
mpd-0d38bd9b3bf9b978c3e9a08324ff8ea764a530bd.tar.xz
mpd-0d38bd9b3bf9b978c3e9a08324ff8ea764a530bd.zip
input/file: export function OpenFileInputStream()
Diffstat (limited to 'src/input/plugins/FileInputPlugin.hxx')
-rw-r--r--src/input/plugins/FileInputPlugin.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/input/plugins/FileInputPlugin.hxx b/src/input/plugins/FileInputPlugin.hxx
index 4aef94637..ee194ec34 100644
--- a/src/input/plugins/FileInputPlugin.hxx
+++ b/src/input/plugins/FileInputPlugin.hxx
@@ -20,6 +20,17 @@
#ifndef MPD_INPUT_FILE_HXX
#define MPD_INPUT_FILE_HXX
+class InputStream;
+class Path;
+class Mutex;
+class Cond;
+class Error;
+
extern const struct InputPlugin input_plugin_file;
+InputStream *
+OpenFileInputStream(Path path,
+ Mutex &mutex, Cond &cond,
+ Error &error);
+
#endif