27 lines
845 B
C
27 lines
845 B
C
#pragma once
|
|
|
|
#include "stellar/stellar.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
struct plugin_manager_schema;
|
|
struct plugin_manager_runtime;
|
|
|
|
struct plugin_manager_schema *plugin_manager_init(struct stellar *st, const char *plugin_spec_file_path);
|
|
void plugin_manager_exit(struct plugin_manager_schema *plug_mgr);
|
|
|
|
void plugin_manager_on_packet_input(struct plugin_manager_schema *plug_mgr, struct packet *pkt);
|
|
void plugin_manager_on_packet_output(struct plugin_manager_schema *plug_mgr, struct packet *pkt);
|
|
//return polling work state, 0: idle, 1: working
|
|
int plugin_manager_on_polling(struct plugin_manager_schema *plug_mgr);
|
|
|
|
struct stellar_exdata;
|
|
struct stellar_exdata *session_exdata_runtime_new(struct plugin_manager_schema *plug_mgr);
|
|
void session_exdata_runtime_free(struct stellar_exdata *exdata_rt);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |