Displaying 1 result from an estimated 1 matches for "qarg".
Did you mean:
arg
2006 Feb 03
0
rquotad (NFS) quota plugin
...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_length > (int)sizeof(rhost.sin_ad...