aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderPlugin.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/DecoderPlugin.hxx
parent65e54f6ed1152002ba736c6e30518a934f82a7fe (diff)
downloadmpd-72af3c0489f8bc417189b6dd48b8db4f380e4ba3.tar.gz
mpd-72af3c0489f8bc417189b6dd48b8db4f380e4ba3.tar.xz
mpd-72af3c0489f8bc417189b6dd48b8db4f380e4ba3.zip
decoder_plugin: rename struct to DecoderPlugin
Diffstat (limited to 'src/DecoderPlugin.hxx')
-rw-r--r--src/DecoderPlugin.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/DecoderPlugin.hxx b/src/DecoderPlugin.hxx
index 0bfae90e1..aaf7e5152 100644
--- a/src/DecoderPlugin.hxx
+++ b/src/DecoderPlugin.hxx
@@ -31,7 +31,7 @@ struct tag_handler;
*/
struct decoder;
-struct decoder_plugin {
+struct DecoderPlugin {
const char *name;
/**
@@ -111,7 +111,7 @@ struct decoder_plugin {
* the plugin is not available
*/
static inline bool
-decoder_plugin_init(const decoder_plugin &plugin,
+decoder_plugin_init(const DecoderPlugin &plugin,
const config_param &param)
{
return plugin.init != nullptr
@@ -123,7 +123,7 @@ decoder_plugin_init(const decoder_plugin &plugin,
* Deinitialize a decoder plugin which was initialized successfully.
*/
static inline void
-decoder_plugin_finish(const decoder_plugin &plugin)
+decoder_plugin_finish(const DecoderPlugin &plugin)
{
if (plugin.finish != nullptr)
plugin.finish();
@@ -133,7 +133,7 @@ decoder_plugin_finish(const decoder_plugin &plugin)
* Decode a stream.
*/
static inline void
-decoder_plugin_stream_decode(const decoder_plugin &plugin,
+decoder_plugin_stream_decode(const DecoderPlugin &plugin,
struct decoder *decoder, struct input_stream *is)
{
plugin.stream_decode(decoder, is);
@@ -143,7 +143,7 @@ decoder_plugin_stream_decode(const decoder_plugin &plugin,
* Decode a file.
*/
static inline void
-decoder_plugin_file_decode(const decoder_plugin &plugin,
+decoder_plugin_file_decode(const DecoderPlugin &plugin,
struct decoder *decoder, const char *path_fs)
{
plugin.file_decode(decoder, path_fs);
@@ -153,7 +153,7 @@ decoder_plugin_file_decode(const decoder_plugin &plugin,
* Read the tag of a file.
*/
static inline bool
-decoder_plugin_scan_file(const decoder_plugin &plugin,
+decoder_plugin_scan_file(const DecoderPlugin &plugin,
const char *path_fs,
const struct tag_handler *handler, void *handler_ctx)
{
@@ -166,7 +166,7 @@ decoder_plugin_scan_file(const decoder_plugin &plugin,
* Read the tag of a stream.
*/
static inline bool
-decoder_plugin_scan_stream(const decoder_plugin &plugin,
+decoder_plugin_scan_stream(const DecoderPlugin &plugin,
struct input_stream *is,
const struct tag_handler *handler,
void *handler_ctx)
@@ -180,7 +180,7 @@ decoder_plugin_scan_stream(const decoder_plugin &plugin,
* return "virtual" tracks in a container
*/
static inline char *
-decoder_plugin_container_scan( const decoder_plugin &plugin,
+decoder_plugin_container_scan( const DecoderPlugin &plugin,
const char* pathname,
const unsigned int tnum)
{
@@ -191,14 +191,14 @@ decoder_plugin_container_scan( const decoder_plugin &plugin,
* Does the plugin announce the specified file name suffix?
*/
bool
-decoder_plugin_supports_suffix(const decoder_plugin &plugin,
+decoder_plugin_supports_suffix(const DecoderPlugin &plugin,
const char *suffix);
/**
* Does the plugin announce the specified MIME type?
*/
bool
-decoder_plugin_supports_mime_type(const decoder_plugin &plugin,
+decoder_plugin_supports_mime_type(const DecoderPlugin &plugin,
const char *mime_type);
#endif