The unified diff between revisions [84a0b39f..] and [697c3a55..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'src/lsi/plugins.c'
# # old_revision [84a0b39f678926ca2848e2a0da300842a9cf5809] # new_revision [697c3a55915ad7eda83ba73798ce0c4b8b2544ba] # # add_file "src/lsi/plugins.c" # content [f3e7cb50a5258da029d27c67f148fba7845fc552] # ============================================================ --- /dev/null +++ src/lsi/plugins.c f3e7cb50a5258da029d27c67f148fba7845fc552 @@ -0,0 +1,27 @@ +/* plugins.c */ + +/* + * This is the master table of plugins. Add a plugin here + * for it to take effect. + */ + +#include "plugin.h" + +#include "midi.h" +#include "dmx.h" +#include "beatdetect.h" +#include "mouse.h" +#include "cmdsocket.h" +#include "sql.h" + +struct plugin plugins_table[] = { + {"midi", midi_init, midi_close, 0}, + {"dmx", dmx_init, dmx_close, 0}, + {"beatdetect", beatdetect_init, beatdetect_close, 0}, + {"mouse", mouse_init, mouse_close, 0}, + {"cmdsocket", cmdsocket_init, cmdsocket_close, 0}, + {"sql", sql_init, sql_close, 0}, +}; + +int nplugins = (sizeof(plugins_table) / sizeof(struct plugin)); +