1 |
douglas |
161 |
// Spectre Samba Mounter |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
douglas |
227 |
// $Id: Mounter.h,v 1.5 2003/07/31 00:56:29 douglas Exp $ |
6 |
douglas |
161 |
|
7 |
|
|
#ifndef _Mounter_h_ |
8 |
|
|
#define _Mounter_h_ |
9 |
|
|
|
10 |
|
|
#include "Configurator.h" |
11 |
|
|
|
12 |
|
|
class Mounter : public Configurator |
13 |
|
|
{ |
14 |
|
|
private: |
15 |
douglas |
171 |
set<string> mounted; |
16 |
|
|
void samba(); |
17 |
|
|
void samba(ipstream& pin); |
18 |
douglas |
172 |
void mount(const string& folder, const string& user, const string& owner); |
19 |
douglas |
161 |
public: |
20 |
|
|
Mounter(const string& host) : Configurator(host) {} |
21 |
|
|
~Mounter() {} |
22 |
|
|
void mount(); |
23 |
|
|
}; |
24 |
|
|
|
25 |
|
|
#endif // _Mounter_h_ |