diff options
Diffstat (limited to 'src/lib/nfs/Connection.hxx')
-rw-r--r-- | src/lib/nfs/Connection.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx index a82921d4e..aebafd4d3 100644 --- a/src/lib/nfs/Connection.hxx +++ b/src/lib/nfs/Connection.hxx @@ -33,6 +33,8 @@ #include <forward_list> struct nfs_context; +struct nfsdir; +struct nfsdirent; class NfsCallback; /** @@ -66,6 +68,8 @@ class NfsConnection : SocketMonitor, DeferredMonitor { bool Stat(nfs_context *context, const char *path, Error &error); + bool OpenDirectory(nfs_context *context, const char *path, + Error &error); bool Open(nfs_context *context, const char *path, int flags, Error &error); bool Stat(nfs_context *context, struct nfsfh *fh, @@ -158,6 +162,12 @@ public: void RemoveLease(NfsLease &lease); bool Stat(const char *path, NfsCallback &callback, Error &error); + + bool OpenDirectory(const char *path, NfsCallback &callback, + Error &error); + const struct nfsdirent *ReadDirectory(struct nfsdir *dir); + void CloseDirectory(struct nfsdir *dir); + bool Open(const char *path, int flags, NfsCallback &callback, Error &error); bool Stat(struct nfsfh *fh, NfsCallback &callback, Error &error); |