summaryrefslogtreecommitdiffstats
path: root/contrib/fuse-include/fuse-misc.h
diff options
context:
space:
mode:
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 00000000000..16b47347262
--- /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);