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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5072 - (hide annotations)
Mon Dec 22 15:33:29 2014 UTC (7 years, 11 months ago) by michael
File MIME type: text/x-csrc
File size: 971 byte(s)
- Fixed a bunch of compile warnings

1 michael 5052 #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 short scans;
17     unsigned short 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 michael 5072 const char *name;
34 michael 5052 };
35    
36     extern void scan_init(void);
37 michael 5072 extern const char *scan_gettype(int);
38 michael 5052 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 michael 5072 extern void scan_positive(struct scan_struct *, const char *, const char *);
45 michael 5052
46     struct kline_format_assoc
47     {
48     char key;
49 michael 5072 const void *data;
50 michael 5052 int type;
51     };
52    
53     #define FORMATTYPE_STRING 1
54    
55     #endif /* SCAN_H */

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