🦄 refactor(stellar api): split exdata and mq
This commit is contained in:
@@ -7,22 +7,19 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#define MAX_MSG_PER_STAGE 256
|
||||
|
||||
struct plugin_manager_schema;
|
||||
struct plugin_manager_runtime;
|
||||
|
||||
struct plugin_manager_schema *plugin_manager_init(struct stellar *st, const char *plugin_spec_file_path, unsigned int max_msg_per_stage);
|
||||
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);
|
||||
//TODO
|
||||
void *plugin_manager_get_plugin_env(const char *plugin_name);
|
||||
|
||||
struct exdata_runtime;
|
||||
struct exdata_runtime *session_exdata_runtime_new(struct stellar *st);
|
||||
void session_exdata_runtime_free(struct exdata_runtime *exdata_h);
|
||||
//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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user