clamscan/clamscan_opt.h
7b8edc5c
 /*
  *  Copyright (C) 2002 - 2006 Tomasz Kojm <tkojm@clamav.net>
  *
  *  This program is free software; you can redistribute it and/or modify
bb34cb31
  *  it under the terms of the GNU General Public License version 2 as
  *  published by the Free Software Foundation.
7b8edc5c
  *
  *  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 */
3bb3357a
     {"multiscan", 0, 0, 'm'},
7b8edc5c
     {"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},
c6d2bbbc
     {"copy", 1, 0, 0},
7b8edc5c
     {"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},
58be1fe9
     {"max-mail-recursion", 1, 0, 0},
b5456d64
 #ifdef HAVE_NCORE
     {"ncore", 0, 0, 0},
7b8edc5c
 #endif
     {"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},
3f97a1e7
     {"no-elf", 0, 0, 0},
7b8edc5c
     {"no-ole2", 0, 0, 0},
c5107e70
     {"no-pdf", 0, 0, 0},
7b8edc5c
     {"no-html", 0, 0, 0},
     {"no-mail", 0, 0, 0},
     {"mail-follow-urls", 0, 0, 0},
af7d0dde
     {"no-phishing-sigs", 0, 0, 0},
19b3e182
     {"no-phishing-scan-urls", 0, 0, 0},
     {"no-phishing-restrictedscan", 0, 0, 0},
     {"phishing-ssl", 0, 0, 0},
     {"phishing-cloak", 0, 0, 0},
7b8edc5c
     {"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