summaryrefslogtreecommitdiff
path: root/src/plugin_manager/plugin_manager_module.h
blob: 0bc468cb45cfb8b8c71d7306ea0ee672f8bc22be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _PLUGIN_MANAGER_MODULE_H
#define _PLUGIN_MANAGER_MODULE_H

#ifdef __cpluscplus
extern "C"
{
#endif

#include "plugin_manager_config.h"

struct plugin_manager_module;

struct plugin_manager_module *plugin_manager_module_open(struct plugin_manager_config *config);
void plugin_manager_module_close(struct plugin_manager_module *module);

int plugin_manager_module_init(struct plugin_manager_module *module);
void plugin_manager_module_exit(struct plugin_manager_module *module);

void plugin_manager_module_dump(struct plugin_manager_module *module, struct plugin_manager_config *config);
int plugin_manager_module_register(struct plugin_manager *plug_mgr, struct plugin_manager_module *module);

#ifdef __cpluscplus
}
#endif

#endif