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.
This commit is contained in:
Max Kellermann
2009-11-07 15:46:45 +01:00
parent 3546d931a1
commit 4624dfcb30
3 changed files with 27 additions and 28 deletions

View File

@@ -20,10 +20,13 @@
#ifndef MPD_DECODER_LIST_H
#define MPD_DECODER_LIST_H
#include <stdio.h>
#include <stdbool.h>
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);