int origin; /* Ditto */
int mapi_version;
void *mapi_header; /* actually struct mapi_mheader_av<mapi_version> */
+ rb_dlink_node node;
};
#define MAPI_MAGIC_HDR 0x4D410000
void mod_add_path(const char *path);
void mod_clear_paths(void);
+/* cap-notify utilities */
+extern void mod_remember_clicaps(void);
+extern void mod_notify_clicaps(void);
+
/* load a module */
extern void load_module(char *path);
extern bool unload_one_module(const char *, bool);
extern bool load_one_module(const char *, int, bool);
extern bool load_a_module(const char *, bool, int, bool);
-extern int findmodule_byname(const char *);
-extern void modules_init(void);
+extern struct module *findmodule_byname(const char *);
+extern void init_modules(void);
+
+extern rb_dlink_list module_list;
+extern rb_dlink_list mod_paths;
#endif /* INCLUDED_modules_h */