From 72af3c0489f8bc417189b6dd48b8db4f380e4ba3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Oct 2013 20:31:34 +0200 Subject: decoder_plugin: rename struct to DecoderPlugin --- src/DecoderList.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/DecoderList.hxx') 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" ;-) */ -- cgit v1.2.3