9 struct dependency_module {
11 struct dependency_module *next;
16 char *name, *argument;
21 int (*init)(struct core *c, struct module*m);
22 void (*done)(struct core *c, struct module*m);
27 struct module* module_load(struct core *c, const char *name, const char*argument);
28 void module_unload(struct core *c, struct module *m);
29 void module_unload_by_index(struct core *c, uint32_t index);
31 void module_unload_all(struct core *c);