Lines Matching refs:cf
110 cleanup(char ***files, char **cf) in cleanup() argument
123 if (*cf != NULL) { in cleanup()
124 free(*cf); in cleanup()
125 *cf = NULL; in cleanup()
130 parse_cf(papi_service_t svc, char *cf, char **files) in parse_cf() argument
138 for (entry = strtok(cf, "\n"); entry != NULL; in parse_cf()
370 submit_job(papi_service_t svc, FILE *ifp, char *printer, int rid, char *cf, in submit_job() argument
378 if ((list = parse_cf(svc, cf, files)) != NULL) { in submit_job()
493 char *cf = NULL; in berkeley_receive_files() local
507 cleanup(&files, &cf); in berkeley_receive_files()
510 if (((cf = strchr(buf, ' ')) != NULL) && in berkeley_receive_files()
511 (strlen(cf) > 4)) { in berkeley_receive_files()
512 while ((*cf != '\0') && (isdigit(*cf) == 0)) in berkeley_receive_files()
513 cf++; in berkeley_receive_files()
514 rid = atoi(cf); in berkeley_receive_files()
516 cf = receive_control_file(svc, ifp, ofp, atoi(&buf[1])); in berkeley_receive_files()
517 if (cf == NULL) { in berkeley_receive_files()
518 cleanup(&files, &cf); in berkeley_receive_files()
521 status = submit_job(svc, ifp, printer, rid, cf, in berkeley_receive_files()
523 cleanup(&files, &cf); in berkeley_receive_files()
530 cleanup(&files, &cf); in berkeley_receive_files()
537 cleanup(&files, &cf); in berkeley_receive_files()
543 if ((cf != NULL) && (files != NULL)) in berkeley_receive_files()
544 status = submit_job(svc, ifp, printer, rid, cf, files); in berkeley_receive_files()
546 cleanup(&files, &cf); in berkeley_receive_files()