mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
fix for new plugin format
This commit is contained in:
parent
b3fbb9bbd5
commit
27f4765408
@ -2,12 +2,8 @@
|
|||||||
* $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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user