aboutsummaryrefslogtreecommitdiffstats
path: root/fuse.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuse.h')
-rw-r--r--fuse.h41
1 files changed, 40 insertions, 1 deletions
diff --git a/fuse.h b/fuse.h
index df71221..32c2609 100644
--- a/fuse.h
+++ b/fuse.h
@@ -1,4 +1,3 @@
-/* -*- indent-tabs-mode: t; c-basic-offset: 8; -*- */
/*
FUSE: Filesystem in Userspace
Copyright (C) 2001 Miklos Szeredi (mszeredi@inf.bme.hu)
@@ -15,3 +14,43 @@ struct fuse_mount_data {
int fd;
};
+enum fuse_opcode {
+ FUSE_OPEN,
+ FUSE_RELEASE,
+};
+
+struct fuse_inparam {
+ enum fuse_opcode opcode;
+ union {
+ struct {
+ unsigned int ino;
+ int flags;
+ } open;
+ } u;
+};
+
+struct fuse_outparam {
+ int result;
+ union {
+ struct {
+ int fd;
+ } open;
+ } u;
+};
+
+struct fuse_param {
+ int unique;
+ int result;
+ union {
+ struct fuse_inparam i;
+ struct fuse_outparam o;
+ } u;
+};
+
+
+/*
+ * Local Variables:
+ * indent-tabs-mode: t
+ * c-basic-offset: 8
+ * End:
+ */