~ubuntu-branches/ubuntu/feisty/clamav/feisty

« back to all changes in this revision

Viewing changes to clamscan/clamscan_opt.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-02-20 10:33:44 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20070220103344-zgcu2psnx9d98fpa
Tags: upstream-0.90
ImportĀ upstreamĀ versionĀ 0.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (C) 2002 - 2006 Tomasz Kojm <tkojm@clamav.net>
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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,
 
17
 *  MA 02110-1301, USA.
 
18
 *
 
19
 */
 
20
 
 
21
#ifndef __CLAMSCAN_OPT_H
 
22
#define __CLAMSCAN_OPT_H
 
23
 
 
24
#if HAVE_CONFIG_H
 
25
#include "clamav-config.h"
 
26
#endif
 
27
 
 
28
#include "getopt.h"
 
29
 
 
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 */
 
36
    {"debug", 0, 0, 0},
 
37
    {"version", 0, 0, 'V'},         /* clamscan + clamdscan */
 
38
    {"tempdir", 1, 0, 0},
 
39
    {"leave-temps", 0, 0, 0},
 
40
    {"config-file", 1, 0, 0},       /* clamdscan */
 
41
    {"multiscan", 0, 0, 'm'},
 
42
    {"database", 1, 0, 'd'},
 
43
    {"force", 0, 0, 0},
 
44
    {"recursive", 0, 0, 'r'},
 
45
    {"bell", 0, 0, 0},
 
46
    {"disable-summary", 0, 0, 0},   /* obsolete */
 
47
    {"no-summary", 0, 0, 0},
 
48
    {"infected", 0, 0, 'i'},
 
49
    {"log", 1, 0, 'l'},
 
50
    {"move", 1, 0, 0},
 
51
    {"copy", 1, 0, 0},
 
52
    {"remove", 0, 0, 0},
 
53
    {"exclude", 1, 0, 0},
 
54
    {"exclude-dir", 1, 0, 0},
 
55
    {"include", 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},
 
63
#ifdef HAVE_NCORE
 
64
    {"ncore", 0, 0, 0},
 
65
#endif
 
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},
 
71
    {"no-pe", 0, 0, 0},
 
72
    {"no-elf", 0, 0, 0},
 
73
    {"no-ole2", 0, 0, 0},
 
74
    {"no-html", 0, 0, 0},
 
75
    {"no-mail", 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},
 
83
#endif
 
84
    {"no-algorithmic", 0, 0, 0},
 
85
    {"unzip", 2, 0, 0},
 
86
    {"unrar", 2, 0, 0},
 
87
    {"arj", 2, 0, 0},
 
88
    {"unzoo", 2, 0, 0},
 
89
    {"lha", 2, 0, 0},
 
90
    {"jar", 2, 0, 0},
 
91
    {"tar", 2, 0, 0},
 
92
    {"tgz", 2, 0, 0},
 
93
    {"deb", 2, 0, 0},
 
94
 
 
95
    /* developers only */
 
96
    {"dev-ac-only", 0, 0, 0},
 
97
    {"dev-ac-depth", 1, 0, 0},
 
98
 
 
99
    {0, 0, 0, 0}
 
100
};
 
101
 
 
102
#endif