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

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

Parent Directory Parent Directory | Revision Log Revision Log


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