ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Spectre/Spectre.h
Revision: 155
Committed: 2003-06-09T01:10:31-07:00 (22 years ago) by douglas
Content type: text/x-c
File size: 758 byte(s)
Log Message:
Did some crazy stuff!

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 <vector>
12 #include <set>
13 #include <map>
14 #include <cstdlib>
15 #include <cstdio>
16 #include <string>
17
18 #include <pstream.h>
19 #include <sys/utsname.h>
20 #include <sys/types.h>
21 #include <sys/stat.h>
22 #include <dirent.h>
23 #include <pwd.h>
24 #include <unistd.h>
25
26 using namespace std;
27 using namespace redi;
28
29 struct Config
30 {
31 string install;
32 string smbclient;
33 string mount_smbfs;
34 string root;
35 multimap<string, string> hosts;
36 };
37
38 extern string program;
39 extern string programName;
40 extern string programVersion;
41 extern bool debug;
42
43 extern Config config;
44
45 string platform();
46 void usage();
47 void version();
48 void configure();
49
50 #endif // _Spectre_h_