From 9a0061c511403bc023430feb91094355da83a663 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Jul 2013 09:04:05 +0200 Subject: encoder_api: convert to C++ --- src/EncoderList.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/EncoderList.hxx') 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 -- cgit v1.2.3