forked from Cisco-Talos/clamav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clamscan_opt.h
97 lines (90 loc) · 2.83 KB
/
clamscan_opt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
* Copyright (C) 2002 - 2006 Tomasz Kojm <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*/
#ifndef __CLAMSCAN_OPT_H
#define __CLAMSCAN_OPT_H
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#include "getopt.h"
const char *clamscan_shortopt = "hvd:wriVl:m";
static struct option clamscan_longopt[] = {
{"help", 0, 0, 'h'}, /* clamscan + clamdscan */
{"quiet", 0, 0, 0}, /* clamscan + clamdscan */
{"stdout", 0, 0, 0}, /* clamscan + clamdscan */
{"verbose", 0, 0, 'v'}, /* clamscan + clamdscan */
{"debug", 0, 0, 0},
{"version", 0, 0, 'V'}, /* clamscan + clamdscan */
{"tempdir", 1, 0, 0},
{"leave-temps", 0, 0, 0},
{"config-file", 1, 0, 0}, /* clamdscan */
{"multiscan", 0, 0, 'm'},
{"database", 1, 0, 'd'},
{"force", 0, 0, 0},
{"recursive", 0, 0, 'r'},
{"bell", 0, 0, 0},
{"disable-summary", 0, 0, 0}, /* obsolete */
{"no-summary", 0, 0, 0},
{"infected", 0, 0, 'i'},
{"log", 1, 0, 'l'},
{"move", 1, 0, 0},
{"copy", 1, 0, 0},
{"remove", 0, 0, 0},
{"exclude", 1, 0, 0},
{"exclude-dir", 1, 0, 0},
{"include", 1, 0, 0},
{"include-dir", 1, 0, 0},
{"max-files", 1, 0, 0},
{"max-space", 1, 0, 0},
{"max-ratio", 1, 0, 0},
{"max-recursion", 1, 0, 0},
{"max-dir-recursion", 1, 0, 0},
{"max-mail-recursion", 1, 0, 0},
{"detect-pua", 0, 0, 0},
{"disable-archive", 0, 0, 0},
{"no-archive", 0, 0, 0},
{"detect-broken", 0, 0, 0},
{"block-encrypted", 0, 0, 0},
{"block-max", 0, 0, 0},
{"no-pe", 0, 0, 0},
{"no-elf", 0, 0, 0},
{"no-ole2", 0, 0, 0},
{"no-pdf", 0, 0, 0},
{"no-html", 0, 0, 0},
{"no-mail", 0, 0, 0},
{"mail-follow-urls", 0, 0, 0},
{"no-phishing-sigs", 0, 0, 0},
{"no-phishing-scan-urls", 0, 0, 0},
{"no-phishing-restrictedscan", 0, 0, 0},
{"phishing-ssl", 0, 0, 0},
{"phishing-cloak", 0, 0, 0},
{"no-algorithmic", 0, 0, 0},
{"unzip", 2, 0, 0},
{"unrar", 2, 0, 0},
{"arj", 2, 0, 0},
{"unzoo", 2, 0, 0},
{"lha", 2, 0, 0},
{"jar", 2, 0, 0},
{"tar", 2, 0, 0},
{"tgz", 2, 0, 0},
{"deb", 2, 0, 0},
/* developers only */
{"dev-ac-only", 0, 0, 0},
{0, 0, 0, 0}
};
#endif