blob: 183e102c90e1568ce7fb9f1cd5a69910390d13b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <directory.h>
#include <dirent.h>
#include <typeConverter.h>
class DirectoryServer : public NetFS::Directory, EntryTypeConverter {
public:
DirectoryServer(DIR * od, EntryTypeConverter &);
void close(const Ice::Current &) override;
NetFS::NameList readdir(const Ice::Current &) override;
NetFS::DirectoryContents listdir(const Ice::Current &) override;
private:
DIR * od;
};
|