mirror of
https://github.com/matrix-construct/construct
synced 2024-12-03 04:02:47 +01:00
834964c659
Happy 28th birthday. You're all grown up.
20 lines
437 B
C
20 lines
437 B
C
#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
|
|
} 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);
|
|
void bandb_del(bandb_type, const char *mask1, const char *mask2);
|
|
void bandb_rehash_bans(void);
|
|
|
|
#endif
|