Commit Graph

11 Commits

Author SHA1 Message Date
luwenpeng
0ed9a0ccca plugin_manager adapt session_manager API and rewrite plugin_manger gtest 2022-08-31 10:05:58 +08:00
liuxueli
e3ea4d0729 update session manager interface definition; define ex_data interface; delete the event design 2022-08-25 19:17:23 +08:00
luwenpeng
b9d93e042b rename fn_session_event_callback to plugin_event_callback and update API parameters
* plugin_event_callback delete 'struct stellar_packet *p'
    * plugin_event_callback rename 'uint16_t len' to 'size_t len'
    * plugin_event_callback rename 'void **pme' to 'void **ctx'
2022-08-16 11:07:29 +08:00
luwenpeng
9df6bf07af Modify the implementation of the plugin manager take over
A plugin that is taken over, if the plugin was called before being taken over
    and has a registered SESSION_EVENT_CLOSING event,
    it will be called again when the SESSION_EVENT_CLOSING event comes.
    Otherwise, the plugin will not be called.
2022-08-10 10:19:22 +08:00
luwenpeng
0f7468b994 Refactored pm_session_dettach_others to pm_session_take_over 2022-08-08 16:25:15 +08:00
luwenpeng
5c790085eb Plugin management support pm_session_dettach_me and pm_session_dettach_others
Add test cases for pm_session_dettach_me and pm_session_dettach_others
2022-08-04 17:30:03 +08:00
luwenpeng
50111e7cd0 Plugin Management support C plugin 2022-08-02 18:50:17 +08:00
luwenpeng
61e3c264f3 Refactored plugin management interface 2022-07-27 15:57:43 +08:00
yangwei
7a3bc7a888 🦄 refactor(plugin manager): update interface definition 2022-07-27 14:17:49 +08:00
yangwei
6f558132a1 rename packet_io_loop to stellar_event_base_loop 2022-07-27 14:17:49 +08:00
yangwei
658108724c add deps directory
update inner include headers
2022-07-14 15:05:18 +08:00