mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
ban type. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
16 lines
452 B
C
16 lines
452 B
C
#ifndef __BANS_H
|
|
#define __BANS_H
|
|
|
|
#include "irc-channels.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
|