File: dline_conf.h

package info (click to toggle)
dancer-ircd 1.0.36-8
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,204 kB
  • ctags: 2,703
  • sloc: ansic: 36,121; sh: 3,534; perl: 612; makefile: 307
file content (33 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* dline_conf.h  -- lets muse over dlines, shall we?
 *
 */

#ifndef INCLUDED_dline_conf_h
#define INCLUDED_dline_conf_h

#include <sys/types.h>

struct Client;
struct ConfItem;

extern void clear_Dline_table(void);
extern void zap_Dlines(void);
extern void add_Dline(struct ConfItem *);
extern void add_ip_Kline(struct ConfItem *);
extern void add_ip_Eline(struct ConfItem *);

extern size_t count_dlines(void);
extern size_t count_ip_klines(void);

extern void add_dline(struct ConfItem *);

extern struct ConfItem *match_Dline(unsigned long);
extern struct ConfItem *match_ip_Kline(unsigned long, const char *);

extern void report_dlines(struct Client *);
extern void report_ip_Klines(struct Client *);
extern void report_ip_Ilines(struct Client *);

#endif /* INCLUDED_dline_conf_h */