]> jfr.im git - solanum.git/blobdiff - include/modules.h
Initial attempt at the conndelay hack
[solanum.git] / include / modules.h
index bfc502f11b85287c9ef390c129d00a452ee71c77..4953986597c6c1b00b162e2964e813009bdcb08e 100644 (file)
@@ -28,6 +28,7 @@
 #include "defaults.h"
 #include "setup.h"
 #include "parse.h"
+#include "client.h" /* for IDLEN */
 
 #define MAPI_CHARYBDIS 2
 
@@ -118,6 +119,12 @@ struct mapi_mheader_av2
 #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);