From 4624dfcb3077f9f45d49c4ce7a4ee1c98f7f8921 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 7 Nov 2009 15:46:45 +0100 Subject: decoder_list: moved print_all_decoders() to cmdline.c Export the decoder_plugins array. The function decoder_plugin_print_all_decoders() it is UI specific and should not live in this backend library. --- src/decoder_list.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/decoder_list.h') diff --git a/src/decoder_list.h b/src/decoder_list.h index 3b3cfd040..a5fe6b99f 100644 --- a/src/decoder_list.h +++ b/src/decoder_list.h @@ -20,10 +20,13 @@ #ifndef MPD_DECODER_LIST_H #define MPD_DECODER_LIST_H -#include +#include struct decoder_plugin; +extern const struct decoder_plugin *const decoder_plugins[]; +extern bool decoder_plugins_enabled[]; + /* interface for using plugins */ /** @@ -43,8 +46,6 @@ decoder_plugin_from_mime_type(const char *mimeType, unsigned int next); const struct decoder_plugin * decoder_plugin_from_name(const char *name); -void decoder_plugin_print_all_decoders(FILE * fp); - /* this is where we "load" all the "plugins" ;-) */ void decoder_plugin_init_all(void); -- cgit v1.2.3