aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-04 20:32:38 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-04 20:46:34 -0700
commit2ed7af90879eabbaed1cc063b3aded73588d9b08 (patch)
treef53fc5ccfb0fa4f41dd2e6332914981f4bdd216a /lib/fuse_i.h
parent595f7c39069786981b2441bf8f369bcf833a2320 (diff)
Merge fuse_ll into fuse_session (part 1)
Merged the structures, and replaced fuse_ll with fuse_session in all type definitions.
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r--lib/fuse_i.h30
1 files changed, 13 insertions, 17 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h
index c968321..0b4c9f5 100644
--- a/lib/fuse_i.h
+++ b/lib/fuse_i.h
@@ -9,25 +9,9 @@
#include "fuse.h"
#include "fuse_lowlevel.h"
-struct fuse_ll;
struct mount_opts;
-struct fuse_session {
- struct fuse_ll *f;
- char *mountpoint;
- volatile int exited;
- int fd;
- struct mount_opts *mo;
-};
-
-struct fuse_chan {
- pthread_mutex_t lock;
- int ctr;
- int fd;
-};
-
struct fuse_req {
- struct fuse_ll *f;
struct fuse_session *se;
uint64_t unique;
int ctr;
@@ -57,7 +41,13 @@ struct fuse_notify_req {
struct fuse_notify_req *prev;
};
-struct fuse_ll {
+struct fuse_session {
+ struct fuse_ll *f;
+ char *mountpoint;
+ volatile int exited;
+ int fd;
+ struct mount_opts *mo;
+
int debug;
int allow_root;
int atomic_o_trunc;
@@ -96,6 +86,12 @@ struct fuse_ll {
size_t bufsize;
};
+struct fuse_chan {
+ pthread_mutex_t lock;
+ int ctr;
+ int fd;
+};
+
/**
* Filesystem module
*