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