X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rquota%2Frquota.x;h=fb8bc0eb256f329971430d4540e20c525c4d8c2a;hb=763cd6e3e2bbb6906186e7ed6a86660276b596b7;hp=0efc16d801a4f08f1ec41a7193fcf78692998f60;hpb=05a777d98ae6cd5dd121f5d7fe5193febb01a394;p=deb_libnfs.git diff --git a/rquota/rquota.x b/rquota/rquota.x index 0efc16d..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; @@ -42,6 +53,20 @@ program RQUOTA_PROGRAM { GETQUOTA1res RQUOTA1_GETQUOTA(GETQUOTA1args) = 1; + + 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;