X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rquota%2Frquota.x;h=fb8bc0eb256f329971430d4540e20c525c4d8c2a;hb=77c23b46c022775c2d5fa82c05fd475b7ca01c88;hp=43d365575994ed81f03dbf84f413dd5424085749;hpb=19e74f5a322739990fd47260f3b3347fbd49c302;p=deb_libnfs.git diff --git a/rquota/rquota.x b/rquota/rquota.x index 43d3655..fb8bc0e 100644 --- a/rquota/rquota.x +++ b/rquota/rquota.x @@ -15,6 +15,17 @@ struct GETQUOTA1args { int uid; }; +enum quotatype { + RQUOTA_TYPE_UID = 0, + RQUOTA_TYPE_GID = 1 +}; + +struct GETQUOTA2args { + exportpath export; + quotatype type; + int uid; +}; + struct GETQUOTA1res_ok { int bsize; int active; @@ -46,5 +57,16 @@ program RQUOTA_PROGRAM { GETQUOTA1res RQUOTA1_GETACTIVEQUOTA(GETQUOTA1args) = 2; } = 1; + + version RQUOTA_V2 { + void + RQUOTA2_NULL(void) = 0; + + GETQUOTA1res + RQUOTA2_GETQUOTA(GETQUOTA2args) = 1; + + GETQUOTA1res + RQUOTA2_GETACTIVEQUOTA(GETQUOTA2args) = 2; + } = 2; } = 100011;