Lines Matching refs:pcroot
240 get_special_contents(const char *pcroot, char ***pppcSC, int *piMax) in get_special_contents() argument
254 if (pcroot == NULL) { in get_special_contents()
255 pcroot = "/"; in get_special_contents()
258 if (pcroot[strlen(pcroot) - 1] == '/') { in get_special_contents()
259 if (snprintf(path, PATH_MAX, "%s%s", pcroot, pc) >= PATH_MAX) { in get_special_contents()
264 if (snprintf(path, PATH_MAX, "%s/%s", pcroot, pc) in get_special_contents()
498 special_contents_remove(int ient, struct cfent **ppcfent, const char *pcroot) in special_contents_remove() argument
520 if ((get_special_contents(pcroot, &ppcSC, &max)) != 0) { in special_contents_remove()
530 if (pcroot == NULL) pcroot = "/"; in special_contents_remove()
531 if (pcroot[strlen(pcroot) - 1] == '/') { in special_contents_remove()
532 if (snprintf(cpath, PATH_MAX, "%s%s", pcroot, pccontents) in special_contents_remove()
534 snprintf(tcpath, PATH_MAX, "%s%s", pcroot, pctcontents) in special_contents_remove()
541 if (snprintf(cpath, PATH_MAX, "%s/%s", pcroot, pccontents) in special_contents_remove()
543 snprintf(tcpath, PATH_MAX, "%s/%s", pcroot, pctcontents) in special_contents_remove()