X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/83b72f917ace47a86a0fdedfd9fe71b078a43ac1..8f0c3422e75189b7f39a7555ded278ab6027707b:/include/chmode.h diff --git a/include/chmode.h b/include/chmode.h index ae1345e2..7fae18af 100644 --- a/include/chmode.h +++ b/include/chmode.h @@ -1,5 +1,5 @@ /* - * charybdis: An advanced ircd. + * Solanum: a slightly advanced ircd * chmode.h: The ircd channel header. * * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center @@ -21,8 +21,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA - * - * $Id$ */ #ifndef INCLUDED_chmode_h @@ -36,39 +34,17 @@ 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); -extern void chm_ban(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_staff(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_forward(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_throttle(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_key(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_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_op(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_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 ChannelModeFunc chm_orphaned; +extern ChannelModeFunc chm_simple; +extern ChannelModeFunc chm_ban; +extern ChannelModeFunc chm_hidden; +extern ChannelModeFunc chm_staff; +extern ChannelModeFunc chm_forward; +extern ChannelModeFunc chm_throttle; +extern ChannelModeFunc chm_key; +extern ChannelModeFunc chm_limit; +extern ChannelModeFunc chm_op; +extern ChannelModeFunc chm_voice; extern unsigned int cflag_add(char c, ChannelModeFunc function); extern void cflag_orphan(char c);