summaryrefslogtreecommitdiff
path: root/libfuse-lite/mount_util.h (plain)
blob: 0318385f9b78aa252d3dc6e4060db3f8d4a1d34d
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#include <sys/types.h>
10
11int fuse_mnt_add_mount(const char *progname, const char *fsname,
12 const char *mnt, const char *type, const char *opts);
13int fuse_mnt_umount(const char *progname, const char *mnt, int lazy);
14char *fuse_mnt_resolve_path(const char *progname, const char *orig);
15int fuse_mnt_check_fuseblk(void);
16
17#ifdef __SOLARIS__
18
19int fuse_mnt_check_empty(const char *progname, const char *mnt,
20 mode_t rootmode, off_t rootsize);
21
22#else /* __SOLARIS__ */
23
24int fusermount(int unmount, int quiet, int lazy, const char *opts,
25 const char *origmnt);
26
27#endif /* __SOLARIS__ */
28