Update to 4.01.
[profile/ivi/quota.git] / quotaon.h
1 /*
2  *      Common types, macros, and routines for enabling/disabling
3  *      quota for each of the various Linux quota formats.
4  */
5
6 #include "pot.h"
7 #include "quota.h"
8 #include "quotasys.h"
9 #include "bylabel.h"
10 #include "common.h"
11 #include "quotaio.h"
12
13 #define STATEFLAG_ON            0x01
14 #define STATEFLAG_OFF           0x02
15 #define STATEFLAG_ALL           0x04
16
17 typedef int (newstate_t) (struct mount_entry * mnt, int type, char *file, int flags);
18 extern int xfs_newstate(struct mount_entry *mnt, int type, char *file, int flags);
19 extern int pinfo(char *fmt, ...);