Lines Matching defs:ppcSC
129 * ppcSC A pointer to an array of special contents obtained via
142 * if (get_special_contents(NULL, &ppcSC, &max) != 0) exit(1);
144 * if (search_special_contents(ppcSC, path[j], &i)) {
156 search_special_contents(char **ppcSC, const char *pcpath, int *piX, int max)
159 if (ppcSC == NULL || *piX == max)
165 if (ppcSC[*piX] == NULL) {
170 j = strlen(ppcSC[*piX]);
171 k = strcmp(pcpath, ppcSC[*piX]);
172 wild = (ppcSC[*piX][j - 1] == '*');
190 if (match(pcpath, ppcSC[*piX]))
196 int x = match(pcpath, ppcSC[*piX]);
202 if (match(pcpath, ppcSC[*piX]))
206 * As pcpath > ppcSC[*piX] we have passed up this
211 free(ppcSC[*piX]);
212 ppcSC[*piX] = NULL;
237 * entries in ppcSC.
371 * ppcSC The rules (special contents)
383 char **ppcSC, int max, int **ppiIndex)
397 if (search_special_contents(ppcSC, ppcfent[i]->path,
501 char **ppcSC = NULL; /* The special contents rules, sorted. */
520 if ((get_special_contents(pcroot, &ppcSC, &max)) != 0) {
526 if (ppcSC == NULL) {
584 if (generate_special_contents_rules(ient, ppcfent, ppcSC, max, &piIndex)
595 * entry in ppcSC (the special_contents rules).
684 free_special_contents(&ppcSC, max);