xref: /haiku/headers/private/userlandfs/fuse/fuse_common_compat.h (revision 21258e2674226d6aa732321b6f8494841895af5f)
1 /*
2   FUSE: Filesystem in Userspace
3   Copyright (C) 2001-2007  Miklos Szeredi <miklos@szeredi.hu>
4 
5   This program can be distributed under the terms of the GNU LGPLv2.
6   See the file COPYING.LIB.
7 */
8 
9 /* these definitions provide source compatibility to prior versions.
10    Do not include this file directly! */
11 
12 struct fuse_file_info_compat {
13 	int flags;
14 	unsigned long fh;
15 	int writepage;
16 	unsigned int direct_io : 1;
17 	unsigned int keep_cache : 1;
18 };
19 
20 int fuse_mount_compat25(const char *mountpoint, struct fuse_args *args);
21 
22 int fuse_mount_compat22(const char *mountpoint, const char *opts);
23 
24 int fuse_mount_compat1(const char *mountpoint, const char *args[]);
25 
26 void fuse_unmount_compat22(const char *mountpoint);
27