ScanCache * scache
Cache for scan results.
int cleanCacheOnUpdate
Clean cache when the virus scanner receives a new pattern file.
virtual ~Environment()
Destroys the environment.
StringSet * getLocalFileSystems()
Gets the list of file systems considered local. This list can be used to decide if scan results shall...
StringSet * excludepath
Paths to be excluded from scanning.
void setCacheMaxSize(unsigned int)
Sets the maximum number of entries in the cache with scan results.
unsigned int cacheMaxSize
Maximum cache size.
Set of pointers to strings.
StringSet * getNoMarkMounts()
Gets the list of mounts not to be scanned.
Environment()
Creates a new environment.
StringSet * nomarkmnt
Mounts that shall not be scanned.
void setCleanCacheOnUpdate(int)
Sets if cache shall be cleaned when the virus scanner receives a new pattern file.
int isCleanCacheOnUpdate()
Determines if cache shall be cleaned when the virus scanner receives a new pattern file...
Cache for virus scanning results.
void setNumberOfThreads(int)
sets the number of threads used to call the virus scanner.
ScanCache * getScanCache()
Gets the scan cache.
StringSet * getNoMarkFileSystems()
Gets the list of file systems that shall not be scanned.
StringSet * localfs
File systems for local drives.
int getNumberOfThreads()
Gets the number of threads used to call the virus scanner.
StringSet * nomarkfs
File systems which shall not be scanned.
int nThreads
Number of threads for virus scanning.
unsigned int getCacheMaxSize()
Gets the maximum number of entries in the cache with scan results.
StringSet * getExcludePaths()
Gets the set of paths that shall not be scanned.