~ubuntu-branches/ubuntu/saucy/fuse-umfuse-ext2/saucy

« back to all changes in this revision

Viewing changes to v2fuseutils.h

  • Committer: Package Import Robot
  • Author(s): Ludovico Gardenghi, Filippo Giunchedi, Ludovico Gardenghi
  • Date: 2012-06-24 20:58:20 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120624205820-d9avp9pa6zgiyac7
Tags: 0.4-1
[ Filippo Giunchedi ]
* Add DM-Upload-Allowed field

[ Ludovico Gardenghi ]
* New upstream release
  + Source code completely changed, now it's a fork of fuse-ext2 by
    Alper Akcan
  + Update copyright file accordingly
  + Resolve old codebase issues (Closes: #562177, #670622)
* Update to S-V 3.9.3
* Switch to machine-readable copyright file
* Update mail address for Ludovico Gardenghi
* Add compatibility symlinks (old version used fuseext2, this one uses
  fuse-ext2)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/*   This is part of um-ViewOS
3
 
 *   The user-mode implementation of OSVIEW -- A Process with a View
4
 
 *
5
 
 *   v2fuseutils utility functions for fuse
6
 
 *   
7
 
 *   Copyright 2007 Renzo Davoli University of Bologna - Italy
8
 
 *   
9
 
 *   This program is free software; you can redistribute it and/or modify
10
 
 *   it under the terms of the GNU General Public License as published by
11
 
 *   the Free Software Foundation; either version 2 of the License.
12
 
 *
13
 
 *   This program is distributed in the hope that it will be useful,
14
 
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 *   GNU General Public License for more details.
17
 
 *
18
 
 *   You should have received a copy of the GNU General Public License along
19
 
 *   with this program; if not, write to the Free Software Foundation, Inc.,
20
 
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21
 
 *
22
 
 */
23
 
 
24
 
#ifndef __V2FUSEUTILS_H
25
 
#define __V2FUSEUTILS_H
26
 
#include <config.h>
27
 
#include <fuse.h>
28
 
#include <stdio.h>
29
 
#include <string.h>
30
 
#include <unistd.h>
31
 
 
32
 
#define FLRO 1
33
 
#define FLRW 2
34
 
#define FLRWPLUS 4
35
 
 
36
 
/* standard usage for v2 fuse modules */
37
 
void v2f_usage(char *progname,struct fuse_operations *ops);
38
 
 
39
 
/* move source and mountpoint in front */
40
 
void v2f_rearrangeargv(int argc, char *argv[]);
41
 
 
42
 
/* check for ro, rw or rw+ options*/
43
 
int v2f_checkrorwplus(int argc, char *argv[]);
44
 
 
45
 
/* arg=output of v2f_checkrorwplus, it prints a warning 
46
 
 * when there is rw (or nothing) but not rw+
47
 
 * returns 1 when the warning has been printed*/
48
 
int v2f_printwarning(int rorwplus);
49
 
#endif