25 lines
544 B
C
25 lines
544 B
C
#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);
|
|
|
|
/******************************************************************************
|
|
* Public API For Plugin
|
|
******************************************************************************/
|
|
|
|
void pm_session_dettach_me(const struct stellar_session *session);
|
|
void pm_session_dettach_others(const struct stellar_session *session);
|
|
|
|
#ifdef __cpluscplus
|
|
}
|
|
#endif
|
|
|
|
#endif |