aboutsummaryrefslogtreecommitdiffstats
path: root/src/InputInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-25 22:43:01 +0100
committerMax Kellermann <max@duempel.org>2013-01-25 22:43:01 +0100
commit49567f1f3eab7ac04e4c3c818212e4e3cb437e0f (patch)
tree58edb1734c45d7c8ec483ea05a7ea88ceb2b7a20 /src/InputInternal.hxx
parent94fffb332bb40eb4b13ad7a2039109d2a420a8f6 (diff)
downloadmpd-49567f1f3eab7ac04e4c3c818212e4e3cb437e0f.tar.gz
mpd-49567f1f3eab7ac04e4c3c818212e4e3cb437e0f.tar.xz
mpd-49567f1f3eab7ac04e4c3c818212e4e3cb437e0f.zip
input_{internal,plugin}: convert to C++
Diffstat (limited to 'src/InputInternal.hxx')
-rw-r--r--src/InputInternal.hxx43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/InputInternal.hxx b/src/InputInternal.hxx
new file mode 100644
index 000000000..33e010daf
--- /dev/null
+++ b/src/InputInternal.hxx
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPD_INPUT_INTERNAL_HXX
+#define MPD_INPUT_INTERNAL_HXX
+
+#include "check.h"
+
+#include <glib.h>
+
+struct input_stream;
+struct input_plugin;
+
+void
+input_stream_init(struct input_stream *is, const struct input_plugin *plugin,
+ const char *uri, GMutex *mutex, GCond *cond);
+
+void
+input_stream_deinit(struct input_stream *is);
+
+void
+input_stream_signal_client(struct input_stream *is);
+
+void
+input_stream_set_ready(struct input_stream *is);
+
+#endif