aboutsummaryrefslogtreecommitdiffstats
path: root/src/EncoderList.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-07-30 09:04:05 +0200
committerMax Kellermann <max@duempel.org>2013-07-30 09:04:05 +0200
commit9a0061c511403bc023430feb91094355da83a663 (patch)
tree7601036948af024a350f3947771375f3588442d9 /src/EncoderList.hxx
parent7a3aac1843a9c84cd87512ef4e9bbc2def727591 (diff)
downloadmpd-9a0061c511403bc023430feb91094355da83a663.tar.gz
mpd-9a0061c511403bc023430feb91094355da83a663.tar.xz
mpd-9a0061c511403bc023430feb91094355da83a663.zip
encoder_api: convert to C++
Diffstat (limited to 'src/EncoderList.hxx')
-rw-r--r--src/EncoderList.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/EncoderList.hxx b/src/EncoderList.hxx
index 69ee8e2bc..feaf7a6d1 100644
--- a/src/EncoderList.hxx
+++ b/src/EncoderList.hxx
@@ -20,12 +20,12 @@
#ifndef MPD_ENCODER_LIST_HXX
#define MPD_ENCODER_LIST_HXX
-struct encoder_plugin;
+struct EncoderPlugin;
-extern const struct encoder_plugin *const encoder_plugins[];
+extern const EncoderPlugin *const encoder_plugins[];
#define encoder_plugins_for_each(plugin) \
- for (const struct encoder_plugin *plugin, \
+ for (const EncoderPlugin *plugin, \
*const*encoder_plugin_iterator = &encoder_plugins[0]; \
(plugin = *encoder_plugin_iterator) != NULL; \
++encoder_plugin_iterator)
@@ -37,7 +37,7 @@ extern const struct encoder_plugin *const encoder_plugins[];
* @return the encoder plugin with the specified name, or NULL if none
* was found
*/
-const struct encoder_plugin *
+const EncoderPlugin *
encoder_plugin_get(const char *name);
#endif