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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5135 - (show annotations)
Thu Dec 25 18:51:51 2014 UTC (4 years, 11 months ago) by michael
File MIME type: text/x-csrc
File size: 950 byte(s)
- propset svn:eol-style native

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 struct ChannelConf *manual_target;
20 };
21
22
23 struct scanner_struct
24 {
25 char *name;
26 OPM_T *scanner;
27 list_t *masks;
28 };
29
30 struct protocol_assoc
31 {
32 int type;
33 const char *name;
34 };
35
36 extern void scan_init(void);
37 extern const char *scan_gettype(int);
38 extern void scan_cycle(void);
39 extern void scan_connect(char **, char *);
40 extern void scan_checkfinished(struct scan_struct *);
41 extern void scan_manual(char *, struct ChannelConf *);
42 extern int scan_checkexempt(char *, char *);
43 extern void scan_timer(void);
44 extern void scan_positive(struct scan_struct *, const char *, const char *);
45
46 struct kline_format_assoc
47 {
48 char key;
49 const void *data;
50 int type;
51 };
52
53 #define FORMATTYPE_STRING 1
54
55 #endif /* SCAN_H */

Properties

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

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