The commotiond plugin loader. More...
Go to the source code of this file.
Classes | |
struct | co_plugin_t |
Typedefs | |
typedef struct co_plugin_t | co_plugin_t |
Functions | |
struct co_plugin_t | __attribute__ ((packed)) |
int | co_plugins_shutdown (void) |
shuts down and closes all plugins | |
int | co_plugins_start (void) |
starts all loaded plugins | |
int | co_plugins_init (size_t index_size) |
initializes global plugin list More... | |
int | co_plugins_load (const char *dir_path) |
loads all plugins in specified path More... | |
Variables | |
co_obj_t | _header |
uint8_t | _exttype |
uint8_t | _len |
co_obj_t * | name |
co_obj_t * | filename |
co_cb_t | shutdown |
co_cb_t | init |
void * | handle |
Detailed Description
The commotiond plugin loader.
Function Documentation
int co_plugins_init | ( | size_t | index_size | ) |
initializes global plugin list
- Parameters
-
index_size specifies size of index for plugins list (16 or 32 bit)
References co_plugins_shutdown().
Referenced by main().
int co_plugins_shutdown(void)
shuts down and closes all plugins
Definition: plugin.c:63
Definition: obj.h:131
int co_plugins_load | ( | const char * | dir_path | ) |
loads all plugins in specified path
- Parameters
-
dir_path directory to load plugins from
References process_files().
Referenced by main().
int process_files(const char *dir_path, file_iter loader)
processes file paths
Definition: util.c:145
Variable Documentation
co_obj_t* name |
command name
Generated on Fri Jun 6 2014 13:22:05 for commotiond by 1.8.7