clamscan/global.h
e3aaff8e
 /*
086eab5c
  *  Copyright (C) 2007-2009 Sourcefire, Inc.
  *
  *  Authors: Tomasz Kojm
e3aaff8e
  *
  *  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.
e3aaff8e
  *
  *  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
48b7b4a7
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  *  MA 02110-1301, USA.
e3aaff8e
  */
 
7a2997f1
 #ifndef __GLOBAL_H
 #define __GLOBAL_H
e3aaff8e
 
 struct s_info {
7a2997f1
     unsigned int sigs;		/* number of signatures */
     unsigned int dirs;		/* number of scanned directories */
     unsigned int files;		/* number of scanned files */
     unsigned int ifiles;	/* number of infected files */
8770404a
     unsigned int errors;	/* number of errors */
5da3127b
     unsigned long int blocks;	/* number of *scanned* 16kb blocks */
     unsigned long int rblocks;	/* number of *read* 16kb blocks */
58bcf502
 };
e3aaff8e
 
7a2997f1
 extern struct s_info info;
58bcf502
 extern short recursion, printinfected, bell;
e3aaff8e
 
 #endif