search for: rquota_get

Displaying 2 results from an estimated 2 matches for "rquota_get".

2007 Jul 11
1
NFS and Filesystem quota
...ars in.) quota-rquotad.c:104: error: 'MNAMELEN' undeclared (first use in this function) quota-rquotad.c:90: warning: unused variable 'statbuf' quota-rquotad.c: At top level: quota-rquotad.c:225: warning: initialization from incompatible pointer type quota-rquotad.c: In function 'rquota_get': quota-rquotad.c:256: warning: dereferencing type-punned pointer will break strict-aliasing rules quota-rquotad.c:267: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type quota-rquotad.c:267: warning: passing argument 4 of 'clnt->cl_ops-...
2006 Feb 03
0
rquotad (NFS) quota plugin
...e, + rquotad_quota_set_resource, + + rquotad_quota_transaction_begin, + rquotad_quota_transaction_commit, + rquotad_quota_transaction_rollback, + + rquotad_quota_try_alloc, + rquotad_quota_alloc, + rquotad_quota_free, + + rquotad_quota_last_error, + + ARRAY_INIT + }; + + static int + rquota_get(char *host, getquota_args *qargs, getquota_rslt *qres) + { + struct sockaddr_in rhost; + struct hostent *hent; + struct timeval tout; + enum clnt_stat cstat; + CLIENT *clnt = NULL; + int sock = RPC_ANYSOCK; + + hent = gethostbyname(host); + if (!hent) + return -1; + if (hent->h_leng...