search for: rquotad_quota_root_error_alloc

Displaying 1 result from an estimated 1 matches for "rquotad_quota_root_error_alloc".

2006 Feb 03
0
rquotad (NFS) quota plugin
...return rpc_createerr.cf_stat; + + clnt->cl_auth = authunix_create_default(); + tout.tv_sec = 25; + tout.tv_usec = 0; + cstat = clnt_call(clnt, RQUOTAPROC_GETQUOTA, xdr_getquota_args, + qargs, xdr_getquota_rslt, qres, tout); + clnt_destroy(clnt); + return cstat; + } + + static void rquotad_quota_root_error_alloc(struct rquotad_quota_root *root, + const char *errmsg, ...) + { + struct rquotad_quota *quota = (struct rquotad_quota *)root->root.quota; + va_list args; + va_start(args, errmsg); + quota->error = p_strdup_vprintf(root->pool, errmsg, args); + va_end(args); + } + + static void...