Initial commit to Gerrit
[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 #define STATEFLAG_VERBOSE       0x08
17
18 typedef int (newstate_t) (struct mntent * mnt, int type, char *file, int flags);
19 extern int xfs_newstate(struct mntent *mnt, int type, char *file, int flags);