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
This commit is contained in:
@@ -1,15 +1,25 @@
|
||||
#pragma once
|
||||
#ifndef _PLUGIN_H
|
||||
#define _PLUGIN_H
|
||||
|
||||
#ifdef __cpluscplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "session.h"
|
||||
|
||||
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);
|
||||
|
||||
/******************************************************************************
|
||||
* Public API: between plugin and plugin_manager
|
||||
* Public API For Plugin
|
||||
******************************************************************************/
|
||||
|
||||
// TODO
|
||||
// TODO
|
||||
void pm_session_dettach_me(const struct stellar_session *session);
|
||||
void pm_session_dettach_others(const struct stellar_session *session);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user