summaryrefslogtreecommitdiff
path: root/netfs/ice/directory.ice
blob: 3718f698763a57967d1c1e38e15556bda3fcb59e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _DIRECTORY
#define _DIRECTORY

#include "exceptions.ice"
#include "types.ice"

module NetFS {
	interface Directory {
		void close() throws AuthError, SystemError;

		idempotent NameList readdir() throws AuthError, SystemError;
	};
	interface DirectoryV2 extends Directory {
		idempotent DirectoryContents listdir() throws AuthError, SystemError;
	};
};

#endif