26 lines
738 B
C
26 lines
738 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);
|
|
|
|
//TODO
|
|
void *plugin_manager_get_plugin_env(const char *plugin_name);
|
|
|
|
//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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |