Lines Matching defs:profs
91 int *pcnt, char *profs[MAXPROFS])
102 if (*pcnt > 0 && strcmp(profs[*pcnt - 1], PROFILE_STOP) == NULL)
112 if (strcmp(profs[i], prof) == 0)
115 if (*pcnt >= MAXPROFS) /* oops: too many profs */
119 profs[(*pcnt)++] = strdup(prof);
121 if (strcmp(profs[*pcnt - 1], PROFILE_STOP) == 0)
133 ctxt, pres, wantattr, pcnt, profs);
157 char *profs[MAXPROFS];
171 cb, ctxt, pres, wantattr, &cnt, profs);
176 free_proflist(profs, cnt);
181 if ((cnt == 0 || strcmp(profs[cnt-1], PROFILE_STOP) != 0) &&
185 wantattr, &cnt, profs);
189 wantattr, &cnt, profs);
198 free_proflist(profs, cnt);