ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.0.x/src/scan.h
Revision: 5321
Committed: Tue Jan 6 14:59:31 2015 UTC (9 years, 2 months ago) by michael
Content type: text/x-chdr
File size: 920 byte(s)
Log Message:
- Fixed coding convention issues

File Contents

# Content
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 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(char *[], char *);
45 extern void scan_checkfinished(struct scan_struct *);
46 extern void scan_manual(char *, 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