/usr/include/rpcsvc
NameSizeModeActions
bootparam_prot.h31880644editdlrm
bootparam_prot.x31200644editdlrm
key_prot.h67570644editdlrm
key_prot.x65680644editdlrm
klm_prot.h32900644editdlrm
klm_prot.x37410644editdlrm
mount.h38630644editdlrm
mount.x46650644editdlrm
nfs_prot.h114480644editdlrm
nfs_prot.x79860644editdlrm
nis.h158790644editdlrm
nis.x168020644editdlrm
nislib.h123400644editdlrm
nis_callback.h26750644editdlrm
nis_callback.x21780644editdlrm
nis_object.x130900644editdlrm
nis_tags.h53700644editdlrm
nlm_prot.h93740644editdlrm
nlm_prot.x49900644editdlrm
rex.h52520644editdlrm
rex.x74220644editdlrm
rquota.h22490644editdlrm
rquota.x15680644editdlrm
rstat.h40450644editdlrm
rstat.x40010644editdlrm
rusers.h32790644editdlrm
rusers.x58660644editdlrm
sm_inter.h31730644editdlrm
sm_inter.x37520644editdlrm
spray.h18870644editdlrm
spray.x25430644editdlrm
yp.h79640644editdlrm
yp.x69810644editdlrm
ypclnt.h34810644editdlrm
yppasswd.h9130644editdlrm
yppasswd.x22860644editdlrm
ypupd.h30270644editdlrm
yp_prot.h149200644editdlrm
Edit: /usr/include/rpcsvc/rquota.x (1568B)
/* @(#)rquota.x 2.1 88/08/01 4.0 RPCSRC */ /* @(#)rquota.x 1.2 87/09/20 Copyr 1987 Sun Micro */ /* * Remote quota protocol * Requires unix authentication */ const RQ_PATHLEN = 1024; struct getquota_args { string gqa_pathp; /* path to filesystem of interest */ int gqa_uid; /* inquire about quota for uid */ }; /* * remote quota structure */ struct rquota { int rq_bsize; /* block size for block counts */ bool rq_active; /* indicates whether quota is active */ unsigned int rq_bhardlimit; /* absolute limit on disk blks alloc */ unsigned int rq_bsoftlimit; /* preferred limit on disk blks */ unsigned int rq_curblocks; /* current block count */ unsigned int rq_fhardlimit; /* absolute limit on allocated files */ unsigned int rq_fsoftlimit; /* preferred file limit */ unsigned int rq_curfiles; /* current # allocated files */ unsigned int rq_btimeleft; /* time left for excessive disk use */ unsigned int rq_ftimeleft; /* time left for excessive files */ }; enum gqr_status { Q_OK = 1, /* quota returned */ Q_NOQUOTA = 2, /* noquota for uid */ Q_EPERM = 3 /* no permission to access quota */ }; union getquota_rslt switch (gqr_status status) { case Q_OK: rquota gqr_rquota; /* valid if status == Q_OK */ case Q_NOQUOTA: void; case Q_EPERM: void; }; program RQUOTAPROG { version RQUOTAVERS { /* * Get all quotas */ getquota_rslt RQUOTAPROC_GETQUOTA(getquota_args) = 1; /* * Get active quotas only */ getquota_rslt RQUOTAPROC_GETACTIVEQUOTA(getquota_args) = 2; } = 1; } = 100011;