【新增】完成新接口代码修改,通过编译未测试
This commit is contained in:
16
include/lua_module_manage.h
Normal file
16
include/lua_module_manage.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "stellar/module_manager.h"
|
||||
|
||||
#define LUA_MODULE_MANAGE_MODULE_NAME "lua_moduel_manager_module"
|
||||
#define LUA_MODULE_MANAGE_CONF_PATH "lua_module_manage.toml"
|
||||
|
||||
typedef void lua_mq_on_msg_cb_func(int topic_id, void *msg, void *on_msg_arg, void *after_dispatch_arg);
|
||||
|
||||
struct stellar_module *lua_module_manager_on_init(struct stellar_module_manager *mod_mgr);
|
||||
void lua_module_manager_on_exit(struct stellar_module_manager *mod_mgr, struct stellar_module *mod);
|
||||
|
||||
|
||||
/* 提供的通用函数 */
|
||||
/* 通用的Lua mq订阅函数, on_msg */
|
||||
/* 注册新数据及自定义函数的接口,能够传参或获取返回值 */
|
||||
Reference in New Issue
Block a user