ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Spectre/Spectre.h
Revision: 162
Committed: 2003-06-09T22:01:14-07:00 (22 years ago) by douglas
Content type: text/x-c
File size: 790 byte(s)
Log Message:
Worked on Configurator::configurate().

File Contents

# Content
1 // Spectre Samba Mounter
2 //
3 // Douglas Thrift
4 //
5 // Spectre.h
6
7 #ifndef _Spectre_h_
8 #define _Spectre_h_
9
10 #include <iostream>
11 #include <fstream>
12 #include <string>
13 #include <sstream>
14 #include <vector>
15 #include <set>
16 #include <map>
17 #include <cstdlib>
18 #include <cstdio>
19
20 #include <pstream.h>
21 #include <sys/utsname.h>
22 #include <sys/types.h>
23 #include <sys/stat.h>
24 #include <dirent.h>
25 #include <pwd.h>
26 #include <unistd.h>
27
28 using namespace std;
29 using namespace redi;
30
31 struct Config
32 {
33 string install;
34 string smbclient;
35 string mount;
36 string root;
37 multimap<string, string> hosts;
38 };
39
40 extern string program;
41 extern string programName;
42 extern string programVersion;
43 extern bool debug;
44
45 extern Config config;
46
47 string platform();
48 void usage();
49 void version();
50 void configure();
51
52 #endif // _Spectre_h_