Lines Matching defs:ofp
406 receive_control_file(papi_service_t svc, FILE *ifp, FILE *ofp, int size)
411 NACK(ofp);
414 ACK(ofp);
434 ACK(ofp);
440 receive_data_file(FILE *ifp, FILE *ofp, int size)
447 NACK(ofp);
450 ACK(ofp);
483 ACK(ofp);
489 berkeley_receive_files(papi_service_t svc, FILE *ifp, FILE *ofp, char *printer)
516 cf = receive_control_file(svc, ifp, ofp, atoi(&buf[1]));
528 file = receive_data_file(ifp, ofp, atoi(&buf[1]));
538 fatal(ofp, "protocol screwup");
552 berkeley_transfer_files(papi_service_t svc, FILE *ifp, FILE *ofp,
568 ACK(ofp);
569 status = berkeley_receive_files(svc, ifp, ofp, printer);
571 NACK(ofp);
575 NACK(ofp);
636 FILE *ofp = stdout;
703 fatal(ofp, "Invalid protocol request (%d): %c%s\n",
712 fatal(ofp, "Can't determine requested printer");
717 fatal(ofp, "%s is cyclical\n", printer);
724 fatal(ofp, "Failed to contact service for %s: %s\n", printer,
738 ACK(ofp); /* there is no equivalent */
741 status = berkeley_transfer_files(svc, ifp, ofp, printer);
749 berkeley_queue_report(svc, ofp, printer, buf[0], count, args);
767 berkeley_cancel_request(svc, ofp, printer, count, args);
771 fatal(ofp, "unsupported protocol request (%c), %s",
775 (void) fflush(ofp);