summaryrefslogtreecommitdiff
path: root/infra/module_manager/module_manager_interna.h
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-11-25 19:22:41 +0800
committeryangwei <[email protected]>2024-11-25 19:22:41 +0800
commite2776414401af0bc02beb305b0d366fe3828cffd (patch)
tree46aecfbe9531f15717626b2b4ec8d2a39e5603f2 /infra/module_manager/module_manager_interna.h
parent40083638202cbedea0728ce0ebe49472212aad9f (diff)
✨ feat(deps/utable): define kv in utable.h temporary
Diffstat (limited to 'infra/module_manager/module_manager_interna.h')
-rw-r--r--infra/module_manager/module_manager_interna.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/infra/module_manager/module_manager_interna.h b/infra/module_manager/module_manager_interna.h
index 120c12a..3e47bf0 100644
--- a/infra/module_manager/module_manager_interna.h
+++ b/infra/module_manager/module_manager_interna.h
@@ -22,15 +22,7 @@ struct module
struct module_spec_load
{
struct module *mod;
- module_on_instance_init_func *on_instance_init_cb;
- module_on_instance_exit_func *on_instance_exit_cb;
- module_on_thread_init_func *on_thread_init_cb;
- module_on_thread_exit_func *on_thread_exit_cb;
- char *path;
- char *instance_init_cb_name;
- char *instance_exit_cb_name;
- char *thread_init_cb_name;
- char *thread_exit_cb_name;
+ struct module_specification spec;
bool init_succ;
}__attribute__((aligned(sizeof(void*))));