diff options
author | Max Kellermann <max@duempel.org> | 2009-11-07 15:14:11 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-07 15:14:11 +0100 |
commit | e3da174fca30c493ec311e41ad3dc6795053757d (patch) | |
tree | 38b0465a3eb3109c1b763c2a8907639f0cc3066c /src/decoder_plugin.h | |
parent | bb862a8cebd19f51d8b49888a9bbb5fdd6bd4384 (diff) | |
download | mpd-e3da174fca30c493ec311e41ad3dc6795053757d.tar.gz mpd-e3da174fca30c493ec311e41ad3dc6795053757d.tar.xz mpd-e3da174fca30c493ec311e41ad3dc6795053757d.zip |
decoder_list: moved suffix/mime_type checks to decoder_plugin.c
Diffstat (limited to '')
-rw-r--r-- | src/decoder_plugin.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/decoder_plugin.h b/src/decoder_plugin.h index 66501a0a1..a078540a6 100644 --- a/src/decoder_plugin.h +++ b/src/decoder_plugin.h @@ -161,4 +161,18 @@ decoder_plugin_container_scan( const struct decoder_plugin *plugin, return plugin->container_scan(pathname, tnum); } +/** + * Does the plugin announce the specified file name suffix? + */ +bool +decoder_plugin_supports_suffix(const struct decoder_plugin *plugin, + const char *suffix); + +/** + * Does the plugin announce the specified MIME type? + */ +bool +decoder_plugin_supports_mime_type(const struct decoder_plugin *plugin, + const char *mime_type); + #endif |