The unified diff between revisions [84a0b39f..] and [63fe9cf9..] 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 [63fe9cf91eccf15b977d5be7600ee10a17d08d95] # # add_file "src/lsi/plugins.c" # content [d1249e7348b4b02e2405e3374b7e6609ff982875] # ============================================================ --- /dev/null +++ src/lsi/plugins.c d1249e7348b4b02e2405e3374b7e6609ff982875 @@ -0,0 +1,25 @@ +/* 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" + +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}, +}; + +int nplugins = (sizeof(plugins_table) / sizeof(struct plugin)); +