Lines Matching defs:profs
94 int *pcnt, char *profs[MAXPROFS])
105 if (*pcnt > 0 && strcmp(profs[*pcnt - 1], PROFILE_STOP) == NULL)
115 if (strcmp(profs[i], prof) == 0)
118 if (*pcnt >= MAXPROFS) /* oops: too many profs */
122 if ((profs[(*pcnt)++] = strdup(prof)) == NULL)
125 if (strcmp(profs[*pcnt - 1], PROFILE_STOP) == 0)
137 ctxt, pres, wantattr, pcnt, profs);
161 char *profs[MAXPROFS];
177 cb, ctxt, pres, wantattr, &cnt, profs);
182 free_proflist(profs, cnt);
192 (cnt == 0 || strcmp(profs[cnt-1], PROFILE_STOP) != 0) &&
198 ctxt, pres, wantattr, &cnt, profs);
203 pres, wantattr, &cnt, profs);
212 free_proflist(profs, cnt);