Holds the metadata for the plugin manager. More...
Data Fields | |
uint16_t * | plugins_enabled |
An array of plugin ids that have been enabled by the user. More... | |
uint16_t | plugins_enabled_cnt |
The number of plugin ids in the plugins_enabled array. More... | |
corsaro_plugin_t ** | plugins |
A pointer to the array of plugins in use. More... | |
corsaro_plugin_t * | first_plugin |
A pointer to the first plugin in the list. More... | |
void ** | plugins_state |
A pointer to the array of plugin states. More... | |
uint16_t | plugins_cnt |
The number of active plugins. More... | |
corsaro_file_t * | logfile |
A pointer to the logfile to use. More... | |
Holds the metadata for the plugin manager.
This allows both corsaro_t and corsaro_in_t objects to use the plugin infrastructure without needing to pass references to themselves
Definition at line 394 of file corsaro_plugin.h.
corsaro_plugin_t* corsaro_plugin_manager::first_plugin |
A pointer to the first plugin in the list.
Definition at line 409 of file corsaro_plugin.h.
Referenced by corsaro_plugin_manager_free(), corsaro_plugin_manager_start(), and corsaro_plugin_next().
corsaro_file_t* corsaro_plugin_manager::logfile |
A pointer to the logfile to use.
Definition at line 418 of file corsaro_plugin.h.
corsaro_plugin_t** corsaro_plugin_manager::plugins |
A pointer to the array of plugins in use.
Definition at line 406 of file corsaro_plugin.h.
Referenced by corsaro_plugin_get_by_id(), corsaro_plugin_manager_free(), corsaro_plugin_manager_start(), and corsaro_plugin_next().
uint16_t corsaro_plugin_manager::plugins_cnt |
The number of active plugins.
Definition at line 415 of file corsaro_plugin.h.
Referenced by corsaro_get_plugin_names(), corsaro_plugin_manager_free(), and corsaro_plugin_next().
uint16_t* corsaro_plugin_manager::plugins_enabled |
An array of plugin ids that have been enabled by the user.
If this array is NULL, then assume all have been enabled.
Definition at line 400 of file corsaro_plugin.h.
Referenced by corsaro_plugin_enable_plugin(), corsaro_plugin_is_enabled(), corsaro_plugin_manager_free(), and corsaro_plugin_manager_start().
uint16_t corsaro_plugin_manager::plugins_enabled_cnt |
The number of plugin ids in the plugins_enabled array.
Definition at line 403 of file corsaro_plugin.h.
Referenced by corsaro_plugin_enable_plugin(), corsaro_plugin_is_enabled(), and corsaro_plugin_manager_start().
void** corsaro_plugin_manager::plugins_state |
A pointer to the array of plugin states.
Definition at line 412 of file corsaro_plugin.h.
Referenced by corsaro_plugin_free_state(), corsaro_plugin_manager_free(), and corsaro_plugin_register_state().