Lines Matching defs:ans
167 int ret, ans = 2; /* Answer codes */
217 if (0 != ans)
218 ans = ret;
234 ans = proc_domain(&yppwd, root_on_master, domain);
239 if (!svc_sendreply(transp, xdr_int, (char *)&ans))
260 int ans = 2;
276 return (ans);
280 ans = proc_request(yppwd, old_pwd, root_on_master, domain);
283 return (ans);
303 int ans;
314 ans = modify_ent(yppwd, old_pwd, root_on_master, domain);
315 if (0 != ans)
316 return (ans);
341 ans = put_new_info(old_pwd, domain);
342 if (0 != ans) {
343 return (ans);
355 ans = proc_maps(domain, old_pwd);
362 return (ans);
379 int ans = 0;
385 ans = proc_map_list(map_list, domain, pwd, FALSE);
387 if (0 != ans)
388 return (ans);
405 ans = proc_map_list(map_list, domain, pwd, TRUE);
409 return (ans);
433 int index, ans = 0;
468 if (0 != (ans = update_single_map(map_name, pwd, adjunct_flag)))
476 * If (ans != 0) then one more maps have failed. LDAP has however been
489 if (mflag && (0 == ans)) {
506 return (ans);