6typedef struct plugin_s {
plugin_t * plugin_test(const char *filename)
Tests to see if a file is a plugin and loads information.
void plugin_insert(plugin_t *plg)
Inserts a plugin to the list, but does not properly enable it (requires restart).
int plugin_init(void)
Initialize and loads all the available plugins.
int plugin_check(void)
Checks to see if the plugins are self-declared compatible with Naev.
const char * plugin_name(const plugin_t *plg)
Tries to tget the name of a plugin.
void plugin_exit(void)
Exits the plugin stuff.
const char * plugin_dir(void)
Gets the plugin directory.
void plugin_free(plugin_t *plg)
Frees a previously allocated plugin.
const plugin_t * plugin_list(void)
Returns the list of all the plugins.