aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:09 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:09 +0200
commit6120635f06ecadcc1ab0d59a54b6842a78e11746 (patch)
tree0c3f2b0f07a50ea2a75dc1a6e641e0805192be96 /src/decoder_api.h
parenta68ef497f518c8d7e53ff30733cc749fea505321 (diff)
downloadmpd-6120635f06ecadcc1ab0d59a54b6842a78e11746.tar.gz
mpd-6120635f06ecadcc1ab0d59a54b6842a78e11746.tar.xz
mpd-6120635f06ecadcc1ab0d59a54b6842a78e11746.zip
added decoder_plugin_register()
With the functions decoder_plugin_register() and decoder_plugin_unregister(), decoder plugins can register a "secondary" plugin, like the flac input plugin does this for "oggflac".
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r--src/decoder_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h
index becaaada6..5afa06e77 100644
--- a/src/decoder_api.h
+++ b/src/decoder_api.h
@@ -87,6 +87,10 @@ struct decoder_plugin {
};
+void decoder_plugin_register(struct decoder_plugin *plugin);
+
+void decoder_plugin_unregister(struct decoder_plugin *plugin);
+
/**
* Opaque handle which the decoder plugin passes to the functions in
* this header.