renamed InputPlugin to struct decoder_plugin

"decoder plugin" is a better name than "input plugin", since the
plugin does not actually do the input - InputStream does.  Also don't
use typedef, so we can forward-declare it if required.
This commit is contained in:
Max Kellermann
2008-08-26 08:27:08 +02:00
parent cdaa26c81d
commit e41be362a1
18 changed files with 65 additions and 59 deletions

View File

@@ -70,7 +70,7 @@ typedef int (*InputPlugin_fileDecodeFunc) (struct decoder *,
* or read */
typedef MpdTag *(*InputPlugin_tagDupFunc) (char *file);
typedef struct _InputPlugin {
struct decoder_plugin {
const char *name;
InputPlugin_initFunc initFunc;
InputPlugin_finishFunc finishFunc;
@@ -85,7 +85,7 @@ typedef struct _InputPlugin {
/* last element in these arrays must always be a NULL: */
const char *const*suffixes;
const char *const*mimeTypes;
} InputPlugin;
};
/**