2
* Copyright (C) 2002 - 2006 Tomasz Kojm <tkojm@clamav.net>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
#ifndef __CLAMSCAN_OPT_H
22
#define __CLAMSCAN_OPT_H
25
#include "clamav-config.h"
30
const char *clamscan_shortopt = "hvd:wriVl:m";
31
static struct option clamscan_longopt[] = {
32
{"help", 0, 0, 'h'}, /* clamscan + clamdscan */
33
{"quiet", 0, 0, 0}, /* clamscan + clamdscan */
34
{"stdout", 0, 0, 0}, /* clamscan + clamdscan */
35
{"verbose", 0, 0, 'v'}, /* clamscan + clamdscan */
37
{"version", 0, 0, 'V'}, /* clamscan + clamdscan */
39
{"leave-temps", 0, 0, 0},
40
{"config-file", 1, 0, 0}, /* clamdscan */
41
{"multiscan", 0, 0, 'm'},
42
{"database", 1, 0, 'd'},
44
{"recursive", 0, 0, 'r'},
46
{"disable-summary", 0, 0, 0}, /* obsolete */
47
{"no-summary", 0, 0, 0},
48
{"infected", 0, 0, 'i'},
54
{"exclude-dir", 1, 0, 0},
56
{"include-dir", 1, 0, 0},
57
{"max-files", 1, 0, 0},
58
{"max-space", 1, 0, 0},
59
{"max-ratio", 1, 0, 0},
60
{"max-recursion", 1, 0, 0},
61
{"max-dir-recursion", 1, 0, 0},
62
{"max-mail-recursion", 1, 0, 0},
66
{"disable-archive", 0, 0, 0},
67
{"no-archive", 0, 0, 0},
68
{"detect-broken", 0, 0, 0},
69
{"block-encrypted", 0, 0, 0},
70
{"block-max", 0, 0, 0},
76
{"mail-follow-urls", 0, 0, 0},
77
{"no-phishing-sigs", 0, 0, 0},
78
#ifdef CL_EXPERIMENTAL
79
{"no-phishing-scan-urls", 0, 0, 0},
80
{"no-phishing-restrictedscan", 0, 0, 0},
81
{"phishing-ssl", 0, 0, 0},
82
{"phishing-cloak", 0, 0, 0},
84
{"no-algorithmic", 0, 0, 0},
96
{"dev-ac-only", 0, 0, 0},
97
{"dev-ac-depth", 1, 0, 0},