#ifndef __plugin_h
#define __plugin_h
+struct _ObParseInst;
+
void plugin_startup();
void plugin_shutdown();
-gboolean plugin_open(char *name);
-void plugin_close(char *name);
+void plugin_loadall(struct _ObParseInst *i);
+void plugin_startall();
+
+/* default plugin */
+/* load a plugin, but don't warn about reopens. for menus */
+gboolean plugin_open(gchar *name, struct _ObParseInst *i);
+void plugin_start(gchar *name);
#endif