#include "plugins.h"
Functions | |
void | plugins_scan_dir (char *directory) |
void | plugins_unload (void) |
void | plugins_reload (void) |
void | plugins_free (void) |
void | plugins_configs_add_all (IOpts *opts) |
void | plugins_configs_default_all (void) |
void | plugins_dump_all (void) |
PluginType * | plugin_type_select (char *type_name) |
int | plugin_type_register (char *type_name, char *type_desc, char *info_func_name) |
void | plugin_type_unregister (char *type_name) |
void | plugin_type_free (PluginType *pt) |
void | plugin_type_dump (PluginType *pt) |
void | plugin_type_list_dump (void) |
Llist * | plugin_list_get (char *type_name) |
char ** | plugin_list_names_get (char *type_name) |
void | plugin_list_dump (char *type_name) |
Plugin * | plugin_select (char *type_name, char *plugin_name) |
void | plugin_configs_init (Plugin *plugin) |
void | plugin_configs_free (Plugin *plugin) |
void | plugin_configs_add (Plugin *plugin, IOpts *opts) |
void | plugin_configs_default (Plugin *plugin) |
void | plugin_configs_dump (PluginConfig *pc, int numofconfig) |
void | plugin_dump (Plugin *plugin) |
void * | plugin_config_data_get (int numofconfs, PluginConfig *pc, char *name) |
This is still in the begining stages and will still mature some. Though currently it is quite stable and flexable. If you find this useful but would like some more options just ask me <magister AT kfa.cx>.
I suggest looking at the plugins example provided with cuf inorder to better understand how to impliment this in your own program.
|
|
|
The format of the search string is: plugin_<plugin_name>_<plugin_config_name> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|