~barry/ubuntu/maverick/fuse/bug-697792-m

« back to all changes in this revision

Viewing changes to include/fuse_common.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2007-08-04 08:09:00 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070804080900-m1e9xpk5eitzmelg
Tags: 2.7.0-1ubuntu1
* Resynchronise with Debian (LP: #128292). Remaining changes:
  - Don't install the init script; install the udev rule and the module
    configuration file instead.
  - debian/45-fuse.rules: set /dev/fuse group to fuse.
  - debian/fuse-utils.modprobe: module configuration file that mounts the
    control filesystem when fuse is loaded and unmounts it when fuse is
    unloaded, along with checking that the control FS is mounting before
    unmounting it.
  - debian/fuse-utils.install: add the udev rule, the module configuration
    file, and ulockmgr_server.
  - Load fuse on install, and set it so it gets loaded on reboot.
  - Move fusermount and ulockmgr_server to /bin and associated libraries
    to /lib.
* Use dpkg-query to fetch conffile md5sums rather than parsing
  /var/lib/dpkg/status directly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    FUSE: Filesystem in Userspace
3
 
    Copyright (C) 2001-2006  Miklos Szeredi <miklos@szeredi.hu>
 
3
    Copyright (C) 2001-2007  Miklos Szeredi <miklos@szeredi.hu>
4
4
 
5
5
    This program can be distributed under the terms of the GNU LGPL.
6
6
    See the file COPYING.LIB.
20
20
#define FUSE_MAJOR_VERSION 2
21
21
 
22
22
/** Minor version of FUSE library interface */
23
 
#define FUSE_MINOR_VERSION 6
 
23
#define FUSE_MINOR_VERSION 7
24
24
 
25
25
#define FUSE_MAKE_VERSION(maj, min)  ((maj) * 10 + (min))
26
26
#define FUSE_VERSION FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION)
160
160
int fuse_parse_cmdline(struct fuse_args *args, char **mountpoint,
161
161
                       int *multithreaded, int *foreground);
162
162
 
163
 
 
 
163
/**
 
164
 * Go into the background
 
165
 *
 
166
 * @param foreground if true, stay in the foreground
 
167
 * @return 0 on success, -1 on failure
 
168
 */
164
169
int fuse_daemonize(int foreground);
165
170
 
 
171
/**
 
172
 * Get the version of the library
 
173
 *
 
174
 * @return the version
 
175
 */
 
176
int fuse_version(void);
 
177
 
166
178
/* ----------------------------------------------------------- *
167
179
 * Signal handling                                             *
168
180
 * ----------------------------------------------------------- */