blob: 48c7bc129cd217dbc3fb1c58463a4ba9686f636b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <sys/types.h>
/* Forwarded declaration */
struct module_ctx;
struct config_file;
typedef struct module_s {
const char *name;
int (*module_init_func)(struct config_file *cfg, struct module_ctx **ctx);
int (*module_config_func)(struct config_file *cfg);
int (*module_reconfig_func)(struct config_file *cfg);
} module_t;
extern module_t modules[];
|