#include "defaults.h"
#include "setup.h"
#include "parse.h"
+#include "client.h" /* for IDLEN */
#define MAPI_CHARYBDIS 2
lt_dlhandle address;
int core; /* This is int for backwards compat reasons */
int origin; /* Ditto */
+ char *path;
int mapi_version;
void *mapi_header; /* actually struct mapi_mheader_av<mapi_version> */
rb_dlink_node node;
{
const char *hapi_name;
hookfn fn;
+ enum hook_priority priority;
} mapi_hfn_list_av1;
-
#define MAPI_CAP_CLIENT 1
#define MAPI_CAP_SERVER 2
#define DECLARE_MODULE_AV2(name, reg, unreg, cl, hl, hfnlist, caplist, v, desc) \
struct mapi_mheader_av2 _mheader = { MAPI_V2, reg, unreg, cl, hl, hfnlist, caplist, v, desc, DATECODE}
+struct modreload
+{
+ char module[BUFSIZE];
+ char id[IDLEN];
+};
+
/* add a path */
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);