This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar-2022/sdk/include/plugin.h

25 lines
544 B
C
Raw Normal View History

#ifndef _PLUGIN_H
#define _PLUGIN_H
#ifdef __cpluscplus
extern "C"
{
#endif
#include "session.h"
2022-07-27 18:32:22 +08:00
typedef int plugin_init_callback(void);
typedef void plugin_exit_callback(void);
2022-07-27 15:51:07 +08:00
2022-07-27 18:32:22 +08:00
/******************************************************************************
* Public API For Plugin
2022-07-27 18:32:22 +08:00
******************************************************************************/
void pm_session_dettach_me(const struct stellar_session *session);
void pm_session_dettach_others(const struct stellar_session *session);
#ifdef __cpluscplus
}
#endif
#endif