]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/chmode.h
Remove FLAGS_SENDQEX, fix sendq exceeded snotes for servers.
[irc/rqf/shadowircd.git] / include / chmode.h
index e7ba08067ecf0357b0d0ec12e5d6b29ceb93821e..a9c04a64e3073801b11e0c199d28daaa5acbbb43 100644 (file)
 #ifndef INCLUDED_chmode_h
 #define INCLUDED_chmode_h
 
+/* something not included in messages.tab
+ * to change some hooks behaviour when needed
+ * -- dwr
+ */
+#define ERR_CUSTOM 1000
+
+extern int chmode_flags[256];
+
 extern void chm_nosuch(struct Client *source_p, struct Channel *chptr,
           int alevel, int parc, int *parn,
           const char **parv, int *errors, int dir, char c, long mode_type);
+extern void chm_orphaned(struct Client *source_p, struct Channel *chptr,
+          int alevel, int parc, int *parn,
+          const char **parv, int *errors, int dir, char c, long mode_type);
 extern void chm_simple(struct Client *source_p, struct Channel *chptr,
           int alevel, int parc, int *parn,
           const char **parv, int *errors, int dir, char c, long mode_type);
@@ -62,4 +73,10 @@ extern void chm_voice(struct Client *source_p, struct Channel *chptr,
           int alevel, int parc, int *parn,
           const char **parv, int *errors, int dir, char c, long mode_type);
 
+extern void construct_noparam_modes(void);
+extern void find_orphaned_cflags(void);
+extern unsigned int find_cflag_slot(void);
+extern char cflagsbuf[256];
+extern char cflagsmyinfo[256];
+
 #endif