X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/3b0e9fa20ed055db5d862caaff4cef4b3b58c0bc..3fa27fe787e1d1c108c204999513bc77469f89b0:/include/chmode.h diff --git a/include/chmode.h b/include/chmode.h index 897c64f..915741f 100644 --- a/include/chmode.h +++ b/include/chmode.h @@ -66,10 +66,7 @@ extern void chm_key(struct Client *source_p, struct Channel *chptr, extern void chm_limit(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_regonly(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_owner(struct Client *source_p, struct Channel *chptr, +extern void chm_admin(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_op(struct Client *source_p, struct Channel *chptr, @@ -82,10 +79,12 @@ 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 unsigned int cflag_add(char c, ChannelModeFunc function); +extern void cflag_orphan(char c); +extern void construct_cflags_strings(void); +extern void construct_cflag_param_string(void); extern char cflagsbuf[256]; extern char cflagsmyinfo[256]; +extern char cflagsparaminfo[256]; #endif