Tentitive plugin API.. +------------------------------------------+------------------------------+ | Return value | Function | +------------------------------------------+------------------------------+ | PluginHandle | gxsnmp_plugin_load | | Bool | gxsnmp_plugin_unload | | MenuHandle | gxsnmp_plugin_register_menus | | PluginConfigHandle | gxsnmp_plugin_config | +------------------------------------------+------------------------------+ gxsnmp_plugin_load -- Called during init PluginHandle * gxsnmp_plugin_load (const char *filename, bool gui_active); gxsnmp_plugin_unload -- Called during shutdown, decrement use count and unload when count = 0, return TRUE on unload. bool gxsnmp_plugin_unload (PluginHandle *) gxsnmp_plugin_register_menus -- Called during the second stage of the init process to find out if the plugin has any menu's it wants to attach to the app. It will return a menu structure ready for insertion into the app menus. gxsnmp_plugin_config -- Called when we want to configure the plugin Should return a gtkwidget for insertion into a config panel. And with a Ok, Apply, Revert cancel callback defined in the ConfigHandle.