~ubuntu-branches/ubuntu/maverick/fuse/maverick-proposed

« back to all changes in this revision

Viewing changes to lib/fuse_i.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-01-29 10:38:39 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20080129103839-kmz63d04pnttuuoc
Tags: 2.7.2-1ubuntu1
* Resynchronise with Debian. 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.
  - Create libfuse2-udeb and fuse-utils-udeb.
  - Copy /sbin/mount.fuse and the fuse kernel module into the initramfs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
    FUSE: Filesystem in Userspace
3
 
    Copyright (C) 2001-2007  Miklos Szeredi <miklos@szeredi.hu>
 
2
  FUSE: Filesystem in Userspace
 
3
  Copyright (C) 2001-2007  Miklos Szeredi <miklos@szeredi.hu>
4
4
 
5
 
    This program can be distributed under the terms of the GNU LGPLv2.
6
 
    See the file COPYING.LIB
 
5
  This program can be distributed under the terms of the GNU LGPLv2.
 
6
  See the file COPYING.LIB
7
7
*/
8
8
 
9
9
#include "fuse.h"
14
14
struct fuse_req;
15
15
 
16
16
struct fuse_cmd {
17
 
    char *buf;
18
 
    size_t buflen;
19
 
    struct fuse_chan *ch;
 
17
        char *buf;
 
18
        size_t buflen;
 
19
        struct fuse_chan *ch;
20
20
};
21
21
 
22
22
struct fuse *fuse_new_common(struct fuse_chan *ch, struct fuse_args *args,
23
 
                             const struct fuse_operations *op,
24
 
                             size_t op_size, void *user_data, int compat);
 
23
                             const struct fuse_operations *op,
 
24
                             size_t op_size, void *user_data, int compat);
25
25
 
26
26
int fuse_sync_compat_args(struct fuse_args *args);
27
27
 
28
28
struct fuse_chan *fuse_kern_chan_new(int fd);
29
29
 
30
30
struct fuse_session *fuse_lowlevel_new_common(struct fuse_args *args,
31
 
                                       const struct fuse_lowlevel_ops *op,
32
 
                                       size_t op_size, void *userdata);
 
31
                                        const struct fuse_lowlevel_ops *op,
 
32
                                        size_t op_size, void *userdata);
33
33
 
34
34
void fuse_kern_unmount_compat22(const char *mountpoint);
35
35
void fuse_kern_unmount(const char *mountpoint, int fd);