File: dqblk_v1.h

package info (click to toggle)
quota 4.09-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,700 kB
  • sloc: ansic: 12,461; sh: 5,470; perl: 406; makefile: 338; sed: 16
file content (21 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 *	Headerfile for old quotafile format
 */

#ifndef GUARD_DQBLK_V1_H
#define GUARD_DQBLK_V1_H

/* Values of quota calls */
#define Q_V1_RSQUASH	0x1000
#define Q_V1_GETQUOTA	0x300
#define Q_V1_SETQUOTA	0x400
#define Q_V1_SETUSE	0x500
#define Q_V1_SETQLIM	0x700
#define Q_V1_GETSTATS	0x800

struct quotafile_ops;		/* Will be defined later in quotaio.h */

/* Operations above this format */
extern struct quotafile_ops quotafile_ops_1;

#endif