~daniel-mehrmann/e2fsprogs/master

« back to all changes in this revision

Viewing changes to lib/quota/dqblk_v2.h

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2012-06-14 13:01:21 UTC
  • mfrom: (8.4.18 sid)
  • Revision ID: package-import@ubuntu.com-20120614130121-t2gct0d09jepx0y6
Tags: 1.42.4-3ubuntu1
* Merge from Debian unstable (LP: #978012), remainging changes:
  - debian/control.in: 
      Build-depend on gettext:any instead of on gettext for (cross-building)
      Drop build dependency on dc, which hasn't been needed for some time.
      Update maintainer field.
  - debian/rules:
      Block pkg-create-dbgsym from operating on this package.
      Build without dietlibc-dev, which is in universe 
  - debian/control:
      Regenerate with ./debian/rules debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#ifndef __QUOTA_DQBLK_V2_H__
8
8
#define __QUOTA_DQBLK_V2_H__
9
9
 
10
 
#include <sys/types.h>
11
10
#include "quotaio_tree.h"
12
11
 
13
 
#define Q_V2_GETQUOTA   0x0D00  /* Get limits and usage */
14
 
#define Q_V2_SETQUOTA   0x0E00  /* Set limits and usage */
15
 
#define Q_V2_SETUSE     0x0F00  /* Set only usage */
16
 
#define Q_V2_SETQLIM    0x0700  /* Set only limits */
17
 
#define Q_V2_GETINFO    0x0900  /* Get information about quota */
18
 
#define Q_V2_SETINFO    0x0A00  /* Set information about quota */
19
 
#define Q_V2_SETGRACE   0x0B00  /* Set just grace times in quotafile
20
 
                                 * information */
21
 
#define Q_V2_SETFLAGS   0x0C00  /* Set just flags in quotafile information */
22
 
#define Q_V2_GETSTATS   0x1100  /* get collected stats (before proc was used) */
23
 
 
24
12
/* Structure for format specific information */
25
13
struct v2_mem_dqinfo {
26
14
        struct qtree_mem_dqinfo dqi_qtree;
27
 
        uint dqi_flags;         /* Flags set in quotafile */
28
 
        uint dqi_used_entries;  /* Number of entries in file -
29
 
                                   updated by scan_dquots */
30
 
        uint dqi_data_blocks;   /* Number of data blocks in file -
31
 
                                   updated by scan_dquots */
 
15
        unsigned int dqi_flags;         /* Flags set in quotafile */
 
16
        unsigned int dqi_used_entries;  /* Number of entries in file -
 
17
                                           updated by scan_dquots */
 
18
        unsigned int dqi_data_blocks;   /* Number of data blocks in file -
 
19
                                           updated by scan_dquots */
32
20
};
33
21
 
34
22
struct v2_mem_dqblk {