X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/75818939ab299b595e847692904a41055178f69f..100563e836978d8db0d236bae3758d1916989598:/include/chmode.h diff --git a/include/chmode.h b/include/chmode.h index 22421d5..a9c04a6 100644 --- a/include/chmode.h +++ b/include/chmode.h @@ -28,9 +28,20 @@ #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); @@ -63,5 +74,9 @@ extern void chm_voice(struct Client *source_p, struct Channel *chptr, 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