2000-04-26 04:03:38 -04:00
|
|
|
#ifndef __BANS_H
|
|
|
|
#define __BANS_H
|
|
|
|
|
|
|
|
void bans_init(void);
|
|
|
|
void bans_deinit(void);
|
|
|
|
|
2001-03-03 15:48:23 -05:00
|
|
|
/* if ban_type is <= 0, use the default */
|
|
|
|
char *ban_get_mask(IRC_CHANNEL_REC *channel, const char *nick, int ban_type);
|
|
|
|
char *ban_get_masks(IRC_CHANNEL_REC *channel, const char *nicks, int ban_type);
|
2000-04-26 04:03:38 -04:00
|
|
|
|
2001-03-03 15:48:23 -05:00
|
|
|
void ban_set(IRC_CHANNEL_REC *channel, const char *bans, int ban_type);
|
2001-01-07 03:44:02 -05:00
|
|
|
void ban_remove(IRC_CHANNEL_REC *channel, const char *bans);
|
2000-04-26 04:03:38 -04:00
|
|
|
|
|
|
|
#endif
|