summaryrefslogtreecommitdiff
path: root/dqblk_rpc.h
blob: f5a666a79fddefb06c2f82db6324c5fbfa6769bc (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