2010-01-07 23:10:16 +00:00
|
|
|
#ifndef INCLUDED_bandbi_h
|
|
|
|
#define INCLUDED_bandbi_h
|
|
|
|
|
|
|
|
void init_bandb(void);
|
|
|
|
|
2014-08-03 17:38:55 +00:00
|
|
|
typedef enum {
|
|
|
|
BANDB_KLINE,
|
|
|
|
BANDB_DLINE,
|
|
|
|
BANDB_XLINE,
|
|
|
|
BANDB_RESV,
|
|
|
|
LAST_BANDB_TYPE
|
2010-01-07 23:10:16 +00:00
|
|
|
} bandb_type;
|
|
|
|
|
|
|
|
void bandb_add(bandb_type, struct Client *source_p, const char *mask1,
|
2014-08-03 17:38:55 +00:00
|
|
|
const char *mask2, const char *reason, const char *oper_reason, int perm);
|
2010-01-07 23:10:16 +00:00
|
|
|
void bandb_del(bandb_type, const char *mask1, const char *mask2);
|
|
|
|
void bandb_rehash_bans(void);
|
|
|
|
#endif
|