1 /*!\file clamfs.hxx 2 3 \brief ClamFS main file (header file) 4 5 *//* 6 7 ClamFS - An user-space anti-virus protected file system 8 Copyright (C) 2007-2019 Krzysztof Burghardt 9 10 This program is free software; you can redistribute it and/or modify 11 it under the terms of the GNU General Public License as published by 12 the Free Software Foundation; either version 2 of the License, or 13 (at your option) any later version. 14 15 This program is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU General Public License for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with this program; if not, write to the Free Software 22 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 */ 24 25 #ifndef CLAMFS_CLAMFS_HXX 26 #define CLAMFS_CLAMFS_HXX 27 28 #include "config.h" 29 30 #include <Poco/Mutex.h> 31 32 #ifdef DMALLOC 33 #include <stdlib.h> 34 #ifdef HAVE_MALLOC_H 35 #include <malloc.h> 36 #endif 37 #include <dmalloc.h> 38 #endif 39 40 #include "rlog.hxx" 41 #include "config.hxx" 42 #include "clamav.hxx" 43 #include "scancache.hxx" 44 #include "stats.hxx" 45 46 /*!\def FUSE_MAX_ARGS 47 \brief Maximal value of FUSE arguments counter 48 49 Maximal value for argc (maximal length of argv array) 50 we can pass to libFUSE. 51 */ 52 #define FUSE_MAX_ARGS 32 53 54 namespace clamfs { 55 56 using namespace std; 57 using namespace rlog; 58 using namespace Poco; 59 60 extern RLogChannel *Debug; 61 extern RLogChannel *Info; 62 extern RLogChannel *Warn; 63 64 } /* namespace clamfs */ 65 66 #endif /* CLAMFS_CLAMFS_HXX */ 67 68 /* EoF */ 69