aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderList.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-21 20:31:34 +0200
committerMax Kellermann <max@duempel.org>2013-10-21 20:31:34 +0200
commit72af3c0489f8bc417189b6dd48b8db4f380e4ba3 (patch)
tree268fc2b8579d67d8d1c14acf7d054f09c2500820 /src/DecoderList.hxx
parent65e54f6ed1152002ba736c6e30518a934f82a7fe (diff)
downloadmpd-72af3c0489f8bc417189b6dd48b8db4f380e4ba3.tar.gz
mpd-72af3c0489f8bc417189b6dd48b8db4f380e4ba3.tar.xz
mpd-72af3c0489f8bc417189b6dd48b8db4f380e4ba3.zip
decoder_plugin: rename struct to DecoderPlugin
Diffstat (limited to '')
-rw-r--r--src/DecoderList.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/DecoderList.hxx b/src/DecoderList.hxx
index 7beed230b..c199caa4f 100644
--- a/src/DecoderList.hxx
+++ b/src/DecoderList.hxx
@@ -20,13 +20,13 @@
#ifndef MPD_DECODER_LIST_HXX
#define MPD_DECODER_LIST_HXX
-struct decoder_plugin;
+struct DecoderPlugin;
-extern const struct decoder_plugin *const decoder_plugins[];
+extern const struct DecoderPlugin *const decoder_plugins[];
extern bool decoder_plugins_enabled[];
#define decoder_plugins_for_each(plugin) \
- for (const struct decoder_plugin *plugin, \
+ for (const struct DecoderPlugin *plugin, \
*const*decoder_plugin_iterator = &decoder_plugins[0]; \
(plugin = *decoder_plugin_iterator) != nullptr; \
++decoder_plugin_iterator)
@@ -44,14 +44,14 @@ extern bool decoder_plugins_enabled[];
* @param plugin the previous plugin, or nullptr to find the first plugin
* @return a plugin, or nullptr if none matches
*/
-const struct decoder_plugin *
+const struct DecoderPlugin *
decoder_plugin_from_suffix(const char *suffix,
- const struct decoder_plugin *plugin);
+ const struct DecoderPlugin *plugin);
-const struct decoder_plugin *
+const struct DecoderPlugin *
decoder_plugin_from_mime_type(const char *mimeType, unsigned int next);
-const struct decoder_plugin *
+const struct DecoderPlugin *
decoder_plugin_from_name(const char *name);
/* this is where we "load" all the "plugins" ;-) */