ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/scan.h
Revision: 8750
Committed: Tue Jan 1 11:06:38 2019 UTC (5 years, 3 months ago) by michael
Content type: text/x-chdr
File size: 1627 byte(s)
Log Message:
- Update copyright years

File Contents

# Content
1 /*
2 * Copyright (c) 2002 Erik Fears
3 * Copyright (c) 2014-2019 ircd-hybrid development team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
18 * USA
19 */
20
21 #ifndef SCAN_H
22 #define SCAN_H
23
24 #include "libopm/src/opm.h"
25
26 struct scan_struct
27 {
28 char *irc_nick;
29 char *irc_username;
30 char *irc_hostname;
31
32 char *ip;
33 char *proof;
34 OPM_REMOTE_T *remote;
35
36 unsigned int scans;
37 unsigned int positive;
38
39 const char *manual_target;
40 };
41
42 struct scanner_struct
43 {
44 char *name;
45 OPM_T *scanner;
46 list_t masks;
47 };
48
49 struct protocol_assoc
50 {
51 int type;
52 const char *name;
53 };
54
55 extern void scan_init(void);
56 extern const char *scan_gettype(int);
57 extern void scan_cycle(void);
58 extern void scan_connect(const char *[], const char *);
59 extern void scan_checkfinished(struct scan_struct *);
60 extern void scan_manual(char *, const char *);
61 extern void scan_timer(void);
62 extern void scan_positive(struct scan_struct *, const char *, const char *);
63 #endif /* SCAN_H */

Properties

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