ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Spectre/Spectre.h
Revision: 154
Committed: 2003-06-08T23:37:49-07:00 (22 years, 1 month ago) by douglas
Content type: text/x-c
File size: 663 byte(s)
Log Message:
Yes, that!

File Contents

# User Rev Content
1 douglas 148 // 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 douglas 153 #include <map>
14 douglas 148 #include <cstdlib>
15     #include <cstdio>
16     #include <string>
17    
18     #include <pstream.h>
19     #include <sys/types.h>
20     #include <sys/stat.h>
21     #include <dirent.h>
22     #include <pwd.h>
23     #include <unistd.h>
24    
25     using namespace std;
26     using namespace redi;
27    
28 douglas 154 struct Config
29     {
30     string install;
31     string smbclient;
32     string mount_smbfs;
33     string root;
34     };
35    
36 douglas 153 extern string program;
37     extern string programName;
38     extern string programVersion;
39     extern bool debug;
40    
41 douglas 154 extern Config config;
42    
43 douglas 153 void usage();
44     void version();
45    
46 douglas 148 #endif // _Spectre_h_