aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-07 15:46:45 +0100
committerMax Kellermann <max@duempel.org>2009-11-07 15:46:45 +0100
commit4624dfcb3077f9f45d49c4ce7a4ee1c98f7f8921 (patch)
treebf301f44dc574ac0c66b42aa9b90e2b057f9e9bc /src/decoder_list.h
parent3546d931a1bc153ba1416ca837b4c00f1495d7e5 (diff)
downloadmpd-4624dfcb3077f9f45d49c4ce7a4ee1c98f7f8921.tar.gz
mpd-4624dfcb3077f9f45d49c4ce7a4ee1c98f7f8921.tar.xz
mpd-4624dfcb3077f9f45d49c4ce7a4ee1c98f7f8921.zip
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.
Diffstat (limited to '')
-rw-r--r--src/decoder_list.h7
1 files changed, 4 insertions, 3 deletions
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 <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);