aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/ao_output_plugin.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-17 08:54:28 +0200
committerMax Kellermann <max@duempel.org>2011-09-17 19:51:41 +0200
commit3c9bcdd34701196c3d662888c3506a2a001cb252 (patch)
tree38d452f11a5d104e192cd1990947872e1713ea69 /src/output/ao_output_plugin.h
parent3934d2d30cf97271dc7b33e3b77b101f09f916e7 (diff)
downloadmpd-3c9bcdd34701196c3d662888c3506a2a001cb252.tar.gz
mpd-3c9bcdd34701196c3d662888c3506a2a001cb252.tar.xz
mpd-3c9bcdd34701196c3d662888c3506a2a001cb252.zip
output: per-plugin header
Move the "extern" declarations from output_list.c, for more type safety.
Diffstat (limited to 'src/output/ao_output_plugin.h')
-rw-r--r--src/output/ao_output_plugin.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/output/ao_output_plugin.h b/src/output/ao_output_plugin.h
new file mode 100644
index 000000000..9a3a47c05
--- /dev/null
+++ b/src/output/ao_output_plugin.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2003-2011 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_AO_OUTPUT_PLUGIN_H
+#define MPD_AO_OUTPUT_PLUGIN_H
+
+extern const struct audio_output_plugin ao_output_plugin;
+
+#endif