-
Notifications
You must be signed in to change notification settings - Fork 1
/
Scanner.h
36 lines (32 loc) · 1.26 KB
/
Scanner.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once
class CJavaManifest;
class CScannerOptions {
public:
bool console;
bool verbose;
std::vector<std::wstring> excludedDrives;
std::vector<std::wstring> excludedDirectories;
std::vector<std::wstring> excludedFiles;
std::vector<std::wstring> knownTarExtensions;
std::vector<std::wstring> knownGZipTarExtensions;
std::vector<std::wstring> knownBZipTarExtensions;
std::vector<std::wstring> knownZipExtensions;
CScannerOptions() {
console = false;
verbose = false;
excludedDrives.clear();
excludedDirectories.clear();
excludedFiles.clear();
knownTarExtensions.clear();
knownGZipTarExtensions.clear();
knownBZipTarExtensions.clear();
knownZipExtensions.clear();
}
};
int32_t ScanFileZIPArchive(CScannerOptions& options, std::wstring file, std::wstring file_physical);
int32_t ScanFile(CScannerOptions& options, std::wstring file, std::wstring file_physical);
int32_t ScanDirectory(CScannerOptions& options, std::wstring directory, std::wstring directory_physical);
int32_t ScanLocalDrives(CScannerOptions& options);
int32_t ScanNetworkDrives(CScannerOptions& options);
int32_t ScanLocalDrivesInclMountpoints(CScannerOptions& options);
int32_t ScanPrepareEnvironment(CScannerOptions& options);