【修改】补充修改记录
This commit is contained in:
@@ -8,7 +8,31 @@
|
||||
/*************************************************************************
|
||||
* version
|
||||
* [ v0.1 ]
|
||||
*
|
||||
* 07-31
|
||||
* 1. 新增数据结构
|
||||
* enum LPM_DATATYPE
|
||||
* struct lpm_cdata
|
||||
* struct lpm_ctable
|
||||
* typedef int (*lpm_cbinding_function)(struct lpm_state *)
|
||||
* 2. 新增接口函数
|
||||
* lpm_cdata_clean
|
||||
* lpm_state_instance_create
|
||||
* lpm_state_instance_free
|
||||
* lpm_state_instance_init
|
||||
* lpm_cbinding_get_params_count
|
||||
* lpm_cbinding_get_params
|
||||
* lpm_cbinding_push_return
|
||||
* lpm_cbinding_function_register
|
||||
* lpm_cbinding_function_remove
|
||||
* lpm_cdata_register
|
||||
* lpm_cdata_remove
|
||||
* lpm_plugin_load
|
||||
* lpm_plugin_unload
|
||||
* lpm_ctx_new_func
|
||||
* lpm_ctx_free_func
|
||||
* lpm_on_session_msg_func
|
||||
* lpm_trans_data_luatoc
|
||||
* lpm_trans_data_ctolua
|
||||
************************************************************************/
|
||||
#ifndef LUA_PLUGIN_MANAGE_INCLUDE_H
|
||||
#define LUA_PLUGIN_MANAGE_INCLUDE_H
|
||||
@@ -95,7 +119,6 @@ int lpm_cdata_remove(struct lpm_state * state, const char * data_name, const cha
|
||||
1. 在stellar或状态机中新增一个列表, 调用该函数时每次按顺序从列表中取一个进行调用, 加载完成后每次从列表中删除一个结点
|
||||
2. 增加一个参数, 函数原型修改为
|
||||
void * lpm_plugin_load(struct stellar * st, int id)
|
||||
3. 所有的插件与C不同, 在init函数执行过程中完成session_plugin的注册, 插件不再注册至plugin manage中
|
||||
*/
|
||||
void * lpm_plugin_load(struct stellar * st);
|
||||
void lpm_plugin_unload(void * plugin_env);
|
||||
|
||||
Reference in New Issue
Block a user