Revision: | 154 |
Committed: | 2003-06-08T23:37:49-07:00 (22 years ago) by douglas |
Content type: | text/x-c |
File size: | 663 byte(s) |
Log Message: | Yes, that! |
# | 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/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 | struct Config |
29 | { |
30 | string install; |
31 | string smbclient; |
32 | string mount_smbfs; |
33 | string root; |
34 | }; |
35 | |
36 | extern string program; |
37 | extern string programName; |
38 | extern string programVersion; |
39 | extern bool debug; |
40 | |
41 | extern Config config; |
42 | |
43 | void usage(); |
44 | void version(); |
45 | |
46 | #endif // _Spectre_h_ |