aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs/Connection.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-14 15:38:09 +0100
committerMax Kellermann <max@duempel.org>2014-12-14 15:38:09 +0100
commit7fa1a84ec37ba6e891d2eb9d557cf3ddfb902023 (patch)
tree2709dad81558c4c2a85576bb05ac365b5c6b3876 /src/lib/nfs/Connection.hxx
parentab4bb26a0aeac99a7ea5aa9fdd93d379bf3c054d (diff)
downloadmpd-7fa1a84ec37ba6e891d2eb9d557cf3ddfb902023.tar.gz
mpd-7fa1a84ec37ba6e891d2eb9d557cf3ddfb902023.tar.xz
mpd-7fa1a84ec37ba6e891d2eb9d557cf3ddfb902023.zip
lib/nfs/Connection: move code to method InternalClose()
Diffstat (limited to '')
-rw-r--r--src/lib/nfs/Connection.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx
index e63782931..93bb4e236 100644
--- a/src/lib/nfs/Connection.hxx
+++ b/src/lib/nfs/Connection.hxx
@@ -187,6 +187,11 @@ private:
void DestroyContext();
/**
+ * Wrapper for nfs_close_async().
+ */
+ void InternalClose(struct nfsfh *fh);
+
+ /**
* Invoke nfs_close_async() after nfs_service() returns.
*/
void DeferClose(struct nfsfh *fh);