1 /* Generated by ./xlat/gen.sh from ./xlat/quotacmds.in; do not edit. */ 2 #if !(defined(Q_V1_QUOTAON) || (defined(HAVE_DECL_Q_V1_QUOTAON) && HAVE_DECL_Q_V1_QUOTAON)) 3 # define Q_V1_QUOTAON OLD_CMD(0x1) 4 #endif 5 #if !(defined(Q_V1_QUOTAOFF) || (defined(HAVE_DECL_Q_V1_QUOTAOFF) && HAVE_DECL_Q_V1_QUOTAOFF)) 6 # define Q_V1_QUOTAOFF OLD_CMD(0x2) 7 #endif 8 #if !(defined(Q_V1_GETQUOTA) || (defined(HAVE_DECL_Q_V1_GETQUOTA) && HAVE_DECL_Q_V1_GETQUOTA)) 9 # define Q_V1_GETQUOTA OLD_CMD(0x3) 10 #endif 11 #if !(defined(Q_V1_SETQUOTA) || (defined(HAVE_DECL_Q_V1_SETQUOTA) && HAVE_DECL_Q_V1_SETQUOTA)) 12 # define Q_V1_SETQUOTA OLD_CMD(0x4) 13 #endif 14 #if !(defined(Q_V1_SETUSE) || (defined(HAVE_DECL_Q_V1_SETUSE) && HAVE_DECL_Q_V1_SETUSE)) 15 # define Q_V1_SETUSE OLD_CMD(0x5) 16 #endif 17 #if !(defined(Q_V1_SYNC) || (defined(HAVE_DECL_Q_V1_SYNC) && HAVE_DECL_Q_V1_SYNC)) 18 # define Q_V1_SYNC OLD_CMD(0x6) 19 #endif 20 #if !(defined(Q_SETQLIM) || (defined(HAVE_DECL_Q_SETQLIM) && HAVE_DECL_Q_SETQLIM)) 21 # define Q_SETQLIM OLD_CMD(0x7) 22 #endif 23 #if !(defined(Q_V1_GETSTATS) || (defined(HAVE_DECL_Q_V1_GETSTATS) && HAVE_DECL_Q_V1_GETSTATS)) 24 # define Q_V1_GETSTATS OLD_CMD(0x8) 25 #endif 26 #if !(defined(Q_V1_RSQUASH) || (defined(HAVE_DECL_Q_V1_RSQUASH) && HAVE_DECL_Q_V1_RSQUASH)) 27 # define Q_V1_RSQUASH OLD_CMD(0x10) 28 #endif 29 #if !(defined(Q_V2_GETQUOTA) || (defined(HAVE_DECL_Q_V2_GETQUOTA) && HAVE_DECL_Q_V2_GETQUOTA)) 30 # define Q_V2_GETQUOTA OLD_CMD(0xD) 31 #endif 32 #if !(defined(Q_V2_SETQUOTA) || (defined(HAVE_DECL_Q_V2_SETQUOTA) && HAVE_DECL_Q_V2_SETQUOTA)) 33 # define Q_V2_SETQUOTA OLD_CMD(0xE) 34 #endif 35 #if !(defined(Q_V2_SETUSE) || (defined(HAVE_DECL_Q_V2_SETUSE) && HAVE_DECL_Q_V2_SETUSE)) 36 # define Q_V2_SETUSE OLD_CMD(0xF) 37 #endif 38 #if !(defined(Q_V2_GETINFO) || (defined(HAVE_DECL_Q_V2_GETINFO) && HAVE_DECL_Q_V2_GETINFO)) 39 # define Q_V2_GETINFO OLD_CMD(0x9) 40 #endif 41 #if !(defined(Q_V2_SETINFO) || (defined(HAVE_DECL_Q_V2_SETINFO) && HAVE_DECL_Q_V2_SETINFO)) 42 # define Q_V2_SETINFO OLD_CMD(0xA) 43 #endif 44 #if !(defined(Q_V2_SETGRACE) || (defined(HAVE_DECL_Q_V2_SETGRACE) && HAVE_DECL_Q_V2_SETGRACE)) 45 # define Q_V2_SETGRACE OLD_CMD(0xB) 46 #endif 47 #if !(defined(Q_V2_SETFLAGS) || (defined(HAVE_DECL_Q_V2_SETFLAGS) && HAVE_DECL_Q_V2_SETFLAGS)) 48 # define Q_V2_SETFLAGS OLD_CMD(0xC) 49 #endif 50 #if !(defined(Q_V2_GETSTATS) || (defined(HAVE_DECL_Q_V2_GETSTATS) && HAVE_DECL_Q_V2_GETSTATS)) 51 # define Q_V2_GETSTATS OLD_CMD(0x11) 52 #endif 53 #if !(defined(Q_SYNC) || (defined(HAVE_DECL_Q_SYNC) && HAVE_DECL_Q_SYNC)) 54 # define Q_SYNC NEW_CMD(0x1) 55 #endif 56 #if !(defined(Q_QUOTAON) || (defined(HAVE_DECL_Q_QUOTAON) && HAVE_DECL_Q_QUOTAON)) 57 # define Q_QUOTAON NEW_CMD(0x2) 58 #endif 59 #if !(defined(Q_QUOTAOFF) || (defined(HAVE_DECL_Q_QUOTAOFF) && HAVE_DECL_Q_QUOTAOFF)) 60 # define Q_QUOTAOFF NEW_CMD(0x3) 61 #endif 62 #if !(defined(Q_GETFMT) || (defined(HAVE_DECL_Q_GETFMT) && HAVE_DECL_Q_GETFMT)) 63 # define Q_GETFMT NEW_CMD(0x4) 64 #endif 65 #if !(defined(Q_GETINFO) || (defined(HAVE_DECL_Q_GETINFO) && HAVE_DECL_Q_GETINFO)) 66 # define Q_GETINFO NEW_CMD(0x5) 67 #endif 68 #if !(defined(Q_SETINFO) || (defined(HAVE_DECL_Q_SETINFO) && HAVE_DECL_Q_SETINFO)) 69 # define Q_SETINFO NEW_CMD(0x6) 70 #endif 71 #if !(defined(Q_GETQUOTA) || (defined(HAVE_DECL_Q_GETQUOTA) && HAVE_DECL_Q_GETQUOTA)) 72 # define Q_GETQUOTA NEW_CMD(0x7) 73 #endif 74 #if !(defined(Q_SETQUOTA) || (defined(HAVE_DECL_Q_SETQUOTA) && HAVE_DECL_Q_SETQUOTA)) 75 # define Q_SETQUOTA NEW_CMD(0x8) 76 #endif 77 #if !(defined(Q_GETNEXTQUOTA) || (defined(HAVE_DECL_Q_GETNEXTQUOTA) && HAVE_DECL_Q_GETNEXTQUOTA)) 78 # define Q_GETNEXTQUOTA NEW_CMD(0x9) 79 #endif 80 #if !(defined(Q_XQUOTAON) || (defined(HAVE_DECL_Q_XQUOTAON) && HAVE_DECL_Q_XQUOTAON)) 81 # define Q_XQUOTAON XQM_CMD(0x1) 82 #endif 83 #if !(defined(Q_XQUOTAOFF) || (defined(HAVE_DECL_Q_XQUOTAOFF) && HAVE_DECL_Q_XQUOTAOFF)) 84 # define Q_XQUOTAOFF XQM_CMD(0x2) 85 #endif 86 #if !(defined(Q_XGETQUOTA) || (defined(HAVE_DECL_Q_XGETQUOTA) && HAVE_DECL_Q_XGETQUOTA)) 87 # define Q_XGETQUOTA XQM_CMD(0x3) 88 #endif 89 #if !(defined(Q_XSETQLIM) || (defined(HAVE_DECL_Q_XSETQLIM) && HAVE_DECL_Q_XSETQLIM)) 90 # define Q_XSETQLIM XQM_CMD(0x4) 91 #endif 92 #if !(defined(Q_XGETQSTAT) || (defined(HAVE_DECL_Q_XGETQSTAT) && HAVE_DECL_Q_XGETQSTAT)) 93 # define Q_XGETQSTAT XQM_CMD(0x5) 94 #endif 95 #if !(defined(Q_XQUOTARM) || (defined(HAVE_DECL_Q_XQUOTARM) && HAVE_DECL_Q_XQUOTARM)) 96 # define Q_XQUOTARM XQM_CMD(0x6) 97 #endif 98 #if !(defined(Q_XQUOTASYNC) || (defined(HAVE_DECL_Q_XQUOTASYNC) && HAVE_DECL_Q_XQUOTASYNC)) 99 # define Q_XQUOTASYNC XQM_CMD(0x7) 100 #endif 101 #if !(defined(Q_XGETQSTATV) || (defined(HAVE_DECL_Q_XGETQSTATV) && HAVE_DECL_Q_XGETQSTATV)) 102 # define Q_XGETQSTATV XQM_CMD(0x8) 103 #endif 104 #if !(defined(Q_XGETNEXTQUOTA) || (defined(HAVE_DECL_Q_XGETNEXTQUOTA) && HAVE_DECL_Q_XGETNEXTQUOTA)) 105 # define Q_XGETNEXTQUOTA XQM_CMD(0x9) 106 #endif 107 108 #ifdef IN_MPERS 109 110 # error static const struct xlat quotacmds in mpers mode 111 112 #else 113 114 static 115 const struct xlat quotacmds[] = { 116 XLAT(Q_V1_QUOTAON), 117 XLAT(Q_V1_QUOTAOFF), 118 XLAT(Q_V1_GETQUOTA), 119 XLAT(Q_V1_SETQUOTA), 120 XLAT(Q_V1_SETUSE), 121 XLAT(Q_V1_SYNC), 122 XLAT(Q_SETQLIM), 123 XLAT(Q_V1_GETSTATS), 124 XLAT(Q_V1_RSQUASH), 125 126 XLAT(Q_V2_GETQUOTA), 127 XLAT(Q_V2_SETQUOTA), 128 XLAT(Q_V2_SETUSE), 129 XLAT(Q_V2_GETINFO), 130 XLAT(Q_V2_SETINFO), 131 XLAT(Q_V2_SETGRACE), 132 XLAT(Q_V2_SETFLAGS), 133 XLAT(Q_V2_GETSTATS), 134 135 XLAT(Q_SYNC), 136 XLAT(Q_QUOTAON), 137 XLAT(Q_QUOTAOFF), 138 XLAT(Q_GETFMT), 139 XLAT(Q_GETINFO), 140 XLAT(Q_SETINFO), 141 XLAT(Q_GETQUOTA), 142 XLAT(Q_SETQUOTA), 143 XLAT(Q_GETNEXTQUOTA), 144 145 XLAT(Q_XQUOTAON), 146 XLAT(Q_XQUOTAOFF), 147 XLAT(Q_XGETQUOTA), 148 XLAT(Q_XSETQLIM), 149 XLAT(Q_XGETQSTAT), 150 XLAT(Q_XQUOTARM), 151 XLAT(Q_XQUOTASYNC), 152 XLAT(Q_XGETQSTATV), 153 XLAT(Q_XGETNEXTQUOTA), 154 XLAT_END 155 }; 156 157 #endif /* !IN_MPERS */ 158