🦄 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

@@ -1,11 +1,6 @@
#pragma once
#include "session.h"
#include <time.h>
int plugin_session_event_register(const char *session_name,
fn_session_event_callback call_back,
const struct timeval *timeout);
void plugin_session_event_delete(struct stellar_event *ev,
void plugin_remove_from_session_event(struct stellar_event *ev,
struct stellar_session *s);

View File

@@ -41,4 +41,4 @@ void session_manager_trigger_event(struct stellar_session *s,
struct stellar_session_event_extras *info);
struct stellar_session *session_manager_session_derive(const struct stellar_session *this_session,
const char *new_session_name);
const char *new_session_type_name);