blob: 83a827aa24dd90f2f591706e918f5f82cc16ece8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef DAEMONDIRECTORY_H
#define DAEMONDIRECTORY_H
#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;
};
#endif
|