~ubuntu-branches/ubuntu/trusty/nilfs-tools/trusty

« back to all changes in this revision

Viewing changes to sbin/mount/mount_attrs.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2011-08-12 20:42:38 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20110812204238-3i5mnvvmg7amtyjm
Tags: upstream-2.1.0~rc2
ImportĀ upstreamĀ versionĀ 2.1.0~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * mount_attrs.h - NILFS mount attributes for libmount (declarations)
 
3
 */
 
4
#ifndef _MOUNT_ATTRS_H
 
5
#define _MOUNT_ATTRS_H
 
6
 
 
7
#include <sys/types.h>
 
8
 
 
9
#define NOATTR_NAME             "none"
 
10
 
 
11
/* mount options */
 
12
struct nilfs_mount_attrs {
 
13
        pid_t gcpid;
 
14
        int nogc;
 
15
        unsigned long pp;
 
16
};
 
17
 
 
18
struct libmnt_context;
 
19
 
 
20
void nilfs_mount_attrs_init(struct nilfs_mount_attrs *mattrs);
 
21
int nilfs_mount_attrs_parse(struct nilfs_mount_attrs *mattrs,
 
22
                            const char *optstr, char **found, char **rest,
 
23
                            int mtab);
 
24
void nilfs_mount_attrs_update(struct nilfs_mount_attrs *old_attrs,
 
25
                              struct nilfs_mount_attrs *new_attrs,
 
26
                              struct libmnt_context *cxt);
 
27
 
 
28
#endif /* _MOUNT_ATTRS_H */