2000-04-26 08:03:38 +00:00
|
|
|
#ifndef __BANS_H
|
|
|
|
|
#define __BANS_H
|
|
|
|
|
|
2000-08-26 15:39:44 +00:00
|
|
|
#include "irc-channels.h"
|
2000-04-26 08:03:38 +00:00
|
|
|
|
|
|
|
|
void bans_init(void);
|
|
|
|
|
void bans_deinit(void);
|
|
|
|
|
|
2000-08-26 15:39:44 +00:00
|
|
|
char *ban_get_mask(IRC_CHANNEL_REC *channel, const char *nick);
|
2000-12-17 02:59:16 +00:00
|
|
|
char *ban_get_masks(IRC_CHANNEL_REC *channel, const char *nicks);
|
2000-04-26 08:03:38 +00:00
|
|
|
|
|
|
|
|
void ban_set_type(const char *type);
|
2000-08-26 15:39:44 +00:00
|
|
|
void ban_set(IRC_CHANNEL_REC *channel, const char *bans);
|
2001-01-07 08:44:02 +00:00
|
|
|
void ban_remove(IRC_CHANNEL_REC *channel, const char *bans);
|
2000-04-26 08:03:38 +00:00
|
|
|
|
|
|
|
|
#endif
|