summaryrefslogtreecommitdiffstats
path: root/tools/atree/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/atree/files.h')
-rw-r--r--tools/atree/files.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/tools/atree/files.h b/tools/atree/files.h
deleted file mode 100644
index 6480c98..0000000
--- a/tools/atree/files.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifndef FILES_H
-#define FILES_H
-
-#include <map>
-#include <string>
-#include <vector>
-#include <sys/types.h>
-
-using namespace std;
-
-struct FileRecord
-{
- string listFile;
- int listLine;
-
- string sourceBase;
- string sourceName;
- string sourcePath;
- bool sourceIsDir;
- time_t sourceMod;
-
- string outName;
- string outPath;
- time_t outMod;
- bool outIsDir;
- unsigned int mode;
-};
-
-int read_list_file(const string& filename,
- const map<string, string>& variables,
- vector<FileRecord>* files,
- vector<string>* excludes);
-int locate(FileRecord* rec, const vector<string>& search);
-void stat_out(const string& base, FileRecord* rec);
-string dir_part(const string& filename);
-int list_dir(const FileRecord& rec, const vector<string>& excludes,
- vector<FileRecord>* files);
-
-#endif // FILES_H