summaryrefslogtreecommitdiffstats
path: root/contrib/fuse-include/fuse-misc.h
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2009-08-10 19:46:45 -0700
committerCsaba Henk <csaba@gluster.com>2009-08-12 06:21:04 -0700
commit472ac9944b2e99b8dd4a7e33f8dc4ae0f111b0cc (patch)
tree35afa43b65ae457657d00570f0a2f3da6802e0fd /contrib/fuse-include/fuse-misc.h
parentab5df475c5c7e9e0f3268fe94a6280e71d34c1db (diff)
fuse: move libfuse derived code over under contrib/
Diffstat (limited to 'contrib/fuse-include/fuse-misc.h')
-rw-r--r--contrib/fuse-include/fuse-misc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/fuse-include/fuse-misc.h b/contrib/fuse-include/fuse-misc.h
new file mode 100644
index 000000000..16b473472
--- /dev/null
+++ b/contrib/fuse-include/fuse-misc.h
@@ -0,0 +1,13 @@
+/*
+ FUSE: Filesystem in Userspace
+ Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu>
+
+ This program can be distributed under the terms of the GNU LGPLv2.
+ See the file COPYING.LIB
+*/
+
+#define OFFSET_MAX 0x7fffffffffffffffLL
+
+unsigned long calc_timeout_sec (double t);
+unsigned int calc_timeout_nsec (double t);
+void convert_fuse_file_lock (struct fuse_file_lock *fl, struct flock *flock);