Add support for loading a list of plugin data on the next application change

This commit is contained in:
Maschell
2020-05-17 20:49:31 +02:00
parent db9b113eab
commit 9a5d3a843f
2 changed files with 64 additions and 0 deletions

View File

@@ -92,6 +92,12 @@ struct plugin_information_t {
dyn_linking_relocation_data_t linking_data; // RPL and function name list
};
struct plugin_information_on_reload_t {
int32_t number_used_plugins = 0; // Number of used plugins. Maximum is MAXIMUM_PLUGINS
plugin_data_t plugin_data[MAXIMUM_PLUGINS];
bool loadOnReload = false;
};
#ifdef __cplusplus
}
#endif