Lines Matching refs:res
31 nis_result *res, *res2; in nis_removemember() local
43 res = nis_lookup (buf, FOLLOW_LINKS | EXPAND_NAME); in nis_removemember()
44 if (res == NULL) in nis_removemember()
46 if (NIS_RES_STATUS (res) != NIS_SUCCESS) in nis_removemember()
48 status = NIS_RES_STATUS (res); in nis_removemember()
49 nis_freeresult (res); in nis_removemember()
53 if (NIS_RES_NUMOBJ (res) != 1 in nis_removemember()
54 || __type_of (NIS_RES_OBJECT (res)) != NIS_GROUP_OBJ) in nis_removemember()
56 nis_freeresult (res); in nis_removemember()
61 = NIS_RES_OBJECT(res)->GR_data.gr_members.gr_members_val; in nis_removemember()
63 = NIS_RES_OBJECT(res)->GR_data.gr_members.gr_members_len; in nis_removemember()
77 NIS_RES_OBJECT (res)->GR_data.gr_members.gr_members_len = j; in nis_removemember()
79 cp = stpcpy (buf, NIS_RES_OBJECT (res)->zo_name); in nis_removemember()
81 strncpy (cp, NIS_RES_OBJECT (res)->zo_domain, NIS_MAXNAMELEN); in nis_removemember()
82 res2 = nis_modify (buf, NIS_RES_OBJECT (res)); in nis_removemember()
84 nis_freeresult (res); in nis_removemember()