#ifndef _PLUGIN_MANAGER_CONFIG_H
#define _PLUGIN_MANAGER_CONFIG_H
#ifdef __cpluscplus
extern "C"
{
#endif
#include "plugin_manager_util.h"
#include "sdk/include/session.h"
struct session_section_config
char session_name[MAX_SESSION_NAME_LENGTH];
char *cb_func_name;
enum session_event_type event;
};
struct plugin_section_config
char *init_func_name;
char *exit_func_name;
char *lib_path;
struct plugin_manager_config
char *file_path;
int session_section_num;
struct session_section_config *session_section; // array
struct plugin_section_config plugin_section;
struct plugin_manager_config *plugin_mangager_config_create();
void plugin_mangager_config_destory(struct plugin_manager_config *config);
int plugin_mangager_config_parse(struct plugin_manager_config *config, const char *file);
void plugin_mangager_config_dump(struct plugin_manager_config *config);
}