elemental-ircd/include/bandbi.h

19 lines
458 B
C
Raw Permalink Normal View History

2010-01-07 23:10:16 +00:00
#ifndef INCLUDED_bandbi_h
#define INCLUDED_bandbi_h
void init_bandb(void);
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,
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