🦄 refactor(plugin manager): update interface definition

This commit is contained in:
yangwei
2022-07-24 23:59:00 +08:00
parent ba866fef10
commit 7a3bc7a888
10 changed files with 66 additions and 32 deletions

View File

@@ -27,8 +27,8 @@ int custom_event_plugin_entry(const struct stellar_session *s, int what, struct
int custom_plugin_init()
{
plugin_session_event_register("TCP", custom_plugin_entry, nullptr);
plugin_session_event_register("CUSTOM_A", custom_event_plugin_entry, nullptr);
//plugin_manager_event_register("TCP", custom_plugin_entry, nullptr);
//plugin_manager_event_register("CUSTOM_A", custom_event_plugin_entry, nullptr);
return 0;
}