summaryrefslogtreecommitdiffstats
path: root/contrib/fuse-include/fuse-misc.h
blob: 16b4734726238f107ebf46046c8af0fe052f51e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);