Prva inačica za buster
[sysadmin-cn.git] / dqblk_rpc.h
1 /*
2  *      Headerfile for rpc quotafile format
3  */
4
5 #ifndef _DQBLK_RPC_H
6 #define _DQBLK_RPC_H
7
8 /* Values used for communication through network */
9 #define Q_RPC_GETQUOTA  0x0300  /* get limits and usage */
10 #define Q_RPC_SETQUOTA  0x0400  /* set limits and usage */
11 #define Q_RPC_SETUSE    0x0500  /* set usage */
12 #define Q_RPC_SETQLIM   0x0700  /* set limits */
13
14 #define RPC_DQBLK_SIZE_BITS 10
15 #define RPC_DQBLK_SIZE (1 << RPC_DQBLK_SIZE_BITS)
16
17 /* Operations above this format */
18 extern struct quotafile_ops quotafile_ops_rpc;
19
20 #endif