🦄 refactor(rename plug mgr api): session plug register with hooks

This commit is contained in:
yangwei
2024-09-04 15:26:15 +08:00
parent 95581a437e
commit 5373efdbff
7 changed files with 21 additions and 21 deletions

View File

@@ -1700,7 +1700,7 @@ TEST(plugin_manager, session_plugin_pub_msg_on_closing) {
// plugin manager register plugin
int plugin_id=stellar_session_plugin_register_with_hook(&st, test_session_closing_ctx_new, test_session_closing_ctx_free, NULL, test_session_closing_on_session_free , &env);
int plugin_id=stellar_session_plugin_register_with_hooks(&st, test_session_closing_ctx_new, test_session_closing_ctx_free, NULL, test_session_closing_on_session_free , &env);
EXPECT_GE(plugin_id,0);
env.intrinsc_tcp_topic_id=stellar_mq_get_topic_id(&st, TOPIC_TCP_INPUT);