summaryrefslogtreecommitdiff
path: root/dqblk_rpc.h
blob: ff2b0b4b849a65b24f7309a3415a09bf4cb68740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *	Headerfile for rpc quotafile format
 */

#ifndef DQBLK_RPC_H
#define DQBLK_RPC_H

/* Values used for communication through network */
#define Q_RPC_GETQUOTA	0x0300	/* get limits and usage */
#define Q_RPC_SETQUOTA	0x0400	/* set limits and usage */
#define Q_RPC_SETUSE	0x0500	/* set usage */
#define Q_RPC_SETQLIM	0x0700	/* set limits */

#define RPC_DQBLK_SIZE_BITS 10
#define RPC_DQBLK_SIZE (1 << RPC_DQBLK_SIZE_BITS)

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

#endif