diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-31 20:59:55 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-31 20:59:55 +0000 |
commit | d9f5cca9b83831c89c8fe93c47100f86e1649fd7 (patch) | |
tree | f563b57b92b1bb17e9322615bef6b3623650f537 /src/inputPlugin.h | |
parent | 2c1f5365ebbd7ffd9ffa660a39ebc052ef96e4d2 (diff) | |
download | mpd-d9f5cca9b83831c89c8fe93c47100f86e1649fd7.tar.gz mpd-d9f5cca9b83831c89c8fe93c47100f86e1649fd7.tar.xz mpd-d9f5cca9b83831c89c8fe93c47100f86e1649fd7.zip |
mod_plugin, just for tarzeau
git-svn-id: https://svn.musicpd.org/mpd/trunk@1263 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugin.h')
-rw-r--r-- | src/inputPlugin.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |