fix for new plugin format

This commit is contained in:
Ron Pedde 2006-05-27 08:50:09 +00:00
parent b3fbb9bbd5
commit 27f4765408

View File

@ -1,13 +1,9 @@
/* /*
* $Id: $ * $Id: $
*/ */
//#ifdef HAVE_CONFIG_H
//#include "config.h"
//#endif
#include "compat.h" #include "compat.h"
#include "mtd-plugins.h" #include "ff-plugins.h"
/* Forwards */ /* Forwards */
PLUGIN_INFO *plugin_info(void); PLUGIN_INFO *plugin_info(void);
@ -19,14 +15,16 @@ void plugin_handler(int, int, void *, int);
PLUGIN_EVENT_FN _pefn = { plugin_handler }; PLUGIN_EVENT_FN _pefn = { plugin_handler };
PLUGIN_INFO _pi = { PLUGIN_INFO _pi = {
PLUGIN_VERSION, PLUGIN_VERSION, /* version */
PLUGIN_EVENT, PLUGIN_EVENT, /* type */
"w32-event/1.0", "w32-event/" VERSION, /* server */
NULL, NULL, /* url */
NULL, NULL, /* output fns */
&_pefn, &_pefn, /* event fns */
NULL, NULL, /* transocde fns */
NULL NULL, /* fns exported by ff */
NULL, /* rend info */
NULL /* codec list */
}; };
typedef struct tag_plugin_msg { typedef struct tag_plugin_msg {