summaryrefslogtreecommitdiff
path: root/quotaon.h
blob: 3e449ba9479df1e40eb1fe10f6b0b7ed73a9e1cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 *	Common types, macros, and routines for enabling/disabling
 *	quota for each of the various Linux quota formats.
 */

#include "pot.h"
#include "quota.h"
#include "quotasys.h"
#include "bylabel.h"
#include "common.h"
#include "quotaio.h"

#define STATEFLAG_ON		0x01
#define STATEFLAG_OFF		0x02
#define STATEFLAG_ALL		0x04

typedef int (newstate_t) (struct mount_entry * mnt, int type, char *file, int flags);
extern int xfs_newstate(struct mount_entry *mnt, int type, char *file, int flags);
extern int pinfo(char *fmt, ...);