- static int load_plugin_index(MWindow *mwindow, const char *index_path,
- const char *plugin_dir);
- static PluginServer* new_ffmpeg_server(MWindow *mwindow, const char *name);
+ static int load_plugin_index(MWindow *mwindow, FILE *fp, const char *plugin_dir);
+ static PluginServer *new_ffmpeg_server(MWindow *mwindow, const char *name);
+ static int init_lv2_index(MWindow *mwindow, Preferences *preferences, FILE *fp);
+ static PluginServer *new_lv2_server(MWindow *mwindow, const char *name);
+ static void remove_plugin_index();
+