Lines Matching defs:auths
50 char **auths;
58 static char *progname = "auths";
126 /* print out the auths */
128 (void) printf("%s,", cbs.auths[i]);
131 (void) printf("%s\n", cbs.auths[cbs.auth_cnt - 1]);
148 cbs->auths = realloc(cbs->auths,
151 if (cbs->auths == NULL) {
158 cbs->auths[cbs->auth_cnt] = strdup(authname);
170 free(cbs->auths[i]);
172 free(cbs->auths);
175 /* We have always ignored .grant in auths(1) */
206 qsort(cbs->auths, cbs->auth_cnt, sizeof (cbs->auths[0]), mstrptr);
215 if (strcmp(cbs->auths[i], cbs->auths[i + rem + 1]) == 0 ||
216 strchr(cbs->auths[i], KV_WILDCHAR) != NULL &&
217 auth_match(cbs->auths[i], cbs->auths[i + rem + 1])) {
218 free(cbs->auths[i + rem + 1]);
223 cbs->auths[i] = cbs->auths[i + rem];