summaryrefslogtreecommitdiffhomepage
path: root/test/util/fuse_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/fuse_util.h')
-rw-r--r--test/util/fuse_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/util/fuse_util.h b/test/util/fuse_util.h
index 1f1bf64a4..6b5a8ce1f 100644
--- a/test/util/fuse_util.h
+++ b/test/util/fuse_util.h
@@ -63,6 +63,9 @@ std::vector<struct iovec> FuseGenerateIovecs(T &first, Types &...args) {
return first_iovec;
}
+// Create a fuse_attr filled with the specified mode and inode.
+fuse_attr DefaultFuseAttr(mode_t mode, uint64_t inode);
+
// Return a fuse_entry_out FUSE server response body.
fuse_entry_out DefaultEntryOut(mode_t mode, uint64_t nodeId);