From e41be362a1dc5691721d72b7f915e32d7f5272bb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:08 +0200 Subject: 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. --- src/decoder_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index bb8517227..c82e01f7e 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -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; +}; /** -- cgit v1.2.3