Plugin Management support C plugin

This commit is contained in:
luwenpeng
2022-07-27 18:32:22 +08:00
parent 649d29e538
commit 50111e7cd0
35 changed files with 4220 additions and 193 deletions

View File

@@ -2,8 +2,14 @@
#include "session.h"
typedef int plugin_init_callback(void **pme);
typedef void plugin_exit_callback(void *pme);
typedef int plugin_init_callback(void);
typedef void plugin_exit_callback(void);
void plugin_remove_from_session_event(struct stellar_event *ev,
struct stellar_session *s);
void plugin_remove_from_session_event(struct stellar_event *ev, struct stellar_session *s);
/******************************************************************************
* Public API: between plugin and plugin_manager
******************************************************************************/
// TODO
// TODO