#pragma once #include "stellar/stellar.h" struct lua_config_spec { char *spec_file_path; /* 插件需要使用的文件名 */ char *spec_load_func_name; /* 加载插件需要调用的函数名称 */ char *spec_unload_func_name; /* 卸载插件需要调用的函数名称 */ }; struct lua_plugin_manage; struct lua_plugin_manage *lua_plugin_manage_init(struct stellar *st, struct lua_config_spec specifics[], size_t specific_num); void lua_plugin_manage_exit(struct lua_plugin_manage *lua_plug_mgr); // void debug_lua_plugin_manage_schema(struct lua_plugin_manage *schema);