From d9f5cca9b83831c89c8fe93c47100f86e1649fd7 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 31 May 2004 20:59:55 +0000 Subject: mod_plugin, just for tarzeau git-svn-id: https://svn.musicpd.org/mpd/trunk@1263 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugin.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/inputPlugin.h') diff --git a/src/inputPlugin.h b/src/inputPlugin.h index 9d77262c6..940789744 100644 --- a/src/inputPlugin.h +++ b/src/inputPlugin.h @@ -10,6 +10,10 @@ #define INPUT_PLUGIN_STREAM_FILE 0x01 #define INPUT_PLUGIN_STREAM_URL 0x02 +typedef int (* InputPlugin_initFunc) (); + +typedef void (* InputPlugin_finishFunc) (); + typedef int (* InputPlugin_streamDecodeFunc) (OutputBuffer *, DecoderControl *, InputStream *); @@ -21,6 +25,8 @@ typedef MpdTag * (* InputPlugin_tagDupFunc) (char * file); typedef struct _InputPlugin { char * name; + InputPlugin_initFunc initFunc; + InputPlugin_finishFunc finishFunc; InputPlugin_streamDecodeFunc streamDecodeFunc; InputPlugin_fileDecodeFunc fileDecodeFunc; InputPlugin_tagDupFunc tagDupFunc; -- cgit v1.2.3