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