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 |
153 |
extern string program; |
29 |
|
|
extern string programName; |
30 |
|
|
extern string programVersion; |
31 |
|
|
extern bool debug; |
32 |
|
|
extern map<string, string> config; |
33 |
|
|
|
34 |
|
|
void usage(); |
35 |
|
|
void version(); |
36 |
|
|
|
37 |
douglas |
148 |
#endif // _Spectre_h_ |