/[svn]/hopm/trunk/src/scan.h
ViewVC logotype

Contents of /hopm/trunk/src/scan.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5338 - (show annotations)
Thu Jan 8 14:32:11 2015 UTC (7 years, 10 months ago) by michael
File MIME type: text/x-csrc
File size: 944 byte(s)
- Const-correctness

1 #ifndef SCAN_H
2 #define SCAN_H
3
4 #include "libopm/src/opm.h"
5
6 struct scan_struct
7 {
8 char *irc_nick;
9 char *irc_username;
10 char *irc_hostname;
11
12 char *ip;
13 char *proof;
14 OPM_REMOTE_T *remote;
15
16 unsigned int scans;
17 unsigned int positive;
18
19 const struct ChannelConf *manual_target;
20 };
21
22 struct scanner_struct
23 {
24 char *name;
25 OPM_T *scanner;
26 list_t *masks;
27 };
28
29 struct protocol_assoc
30 {
31 int type;
32 const char *name;
33 };
34
35 struct kline_format_assoc
36 {
37 char key;
38 const void *data;
39 };
40
41 extern void scan_init(void);
42 extern const char *scan_gettype(int);
43 extern void scan_cycle(void);
44 extern void scan_connect(const char *[], const char *);
45 extern void scan_checkfinished(struct scan_struct *);
46 extern void scan_manual(char *, const struct ChannelConf *);
47 extern int scan_checkexempt(const char *, const char *);
48 extern void scan_timer(void);
49 extern void scan_positive(struct scan_struct *, const char *, const char *);
50 #endif /* SCAN_H */

Properties

Name Value
svn:eol-style native
svn:keywords Id

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28