mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
14 lines
451 B
C
14 lines
451 B
C
#ifndef IRSSI_IRC_CORE_BANS_H
|
|
#define IRSSI_IRC_CORE_BANS_H
|
|
|
|
void bans_init(void);
|
|
void bans_deinit(void);
|
|
|
|
/* 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);
|
|
|
|
void ban_set(IRC_CHANNEL_REC *channel, const char *bans, int ban_type);
|
|
void ban_remove(IRC_CHANNEL_REC *channel, const char *bans);
|
|
|
|
#endif
|