/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | cups-accept-jobs.c | 38 cups_accept_jobs(papi_service_t svc, papi_attribute_t **request, argument 61 if ((status = papiPrinterResume(svc, queue)) != PAPI_OK) { 64 ipp_svc_status_mesg(svc, status));
|
H A D | cups-reject-jobs.c | 38 cups_reject_jobs(papi_service_t svc, papi_attribute_t **request, argument 61 if ((status = papiPrinterPause(svc, queue, NULL)) != PAPI_OK) { 64 ipp_svc_status_mesg(svc, status));
|
H A D | enable-printer.c | 38 ipp_enable_printer(papi_service_t svc, papi_attribute_t **request, argument 61 if ((status = papiPrinterEnable(svc, queue)) != PAPI_OK) { 64 ipp_svc_status_mesg(svc, status));
|
H A D | pause-printer.c | 38 ipp_pause_printer(papi_service_t svc, papi_attribute_t **request, argument 61 if ((status = papiPrinterPause(svc, queue, NULL)) != PAPI_OK) { 64 ipp_svc_status_mesg(svc, status));
|
H A D | resume-printer.c | 38 ipp_resume_printer(papi_service_t svc, papi_attribute_t **request, argument 61 if ((status = papiPrinterResume(svc, queue)) != PAPI_OK) { 64 ipp_svc_status_mesg(svc, status));
|
H A D | cancel-job.c | 38 ipp_cancel_job(papi_service_t svc, papi_attribute_t **request, argument 74 status = papiJobCancel(svc, queue, id); 79 ipp_svc_status_mesg(svc, status));
|
H A D | create-job.c | 39 ipp_create_job(papi_service_t svc, papi_attribute_t **request, argument 93 status = papiJobCreate(svc, queue, job_attributes, NULL, &j); 97 ipp_svc_status_mesg(svc, status));
|
H A D | cups-get-default.c | 40 cups_get_default(papi_service_t svc, papi_attribute_t **request, argument 61 status = papiPrinterQuery(svc, DEFAULT_DEST, req_attrs, NULL, &p); 64 ipp_svc_status_mesg(svc, status));
|
H A D | disable-printer.c | 38 ipp_disable_printer(papi_service_t svc, papi_attribute_t **request, argument 70 if ((status = papiPrinterDisable(svc, queue, message)) != PAPI_OK) { 73 ipp_svc_status_mesg(svc, status));
|
H A D | hold-job.c | 38 ipp_hold_job(papi_service_t svc, papi_attribute_t **request, argument 75 if ((status = papiJobHold(svc, queue, id)) != PAPI_OK) { 79 ipp_svc_status_mesg(svc, status));
|
H A D | purge-jobs.c | 38 ipp_purge_jobs(papi_service_t svc, papi_attribute_t **request, argument 62 if ((status = papiPrinterPurgeJobs(svc, queue, &jobs)) != PAPI_OK) { 65 ipp_svc_status_mesg(svc, status));
|
H A D | release-job.c | 38 ipp_release_job(papi_service_t svc, papi_attribute_t **request, argument 74 if ((status = papiJobRelease(svc, queue, id)) != PAPI_OK) { 78 ipp_svc_status_mesg(svc, status));
|
H A D | cups-get-classes.c | 38 cups_get_classes(papi_service_t svc, papi_attribute_t **request, argument 72 status = papiPrintersList(svc, req_attrs, &filt, &p); 75 ipp_svc_status_mesg(svc, status));
|
H A D | cups-get-printers.c | 38 cups_get_printers(papi_service_t svc, papi_attribute_t **request, argument 73 status = papiPrintersList(svc, req_attrs, &filt, &p); 76 ipp_svc_status_mesg(svc, status));
|
H A D | cups-move-job.c | 38 cups_move_job(papi_service_t svc, papi_attribute_t **request, argument 95 if ((status = papiJobMove(svc, queue, id, dest)) != PAPI_OK) 100 ipp_svc_status_mesg(svc, status));
|
H A D | get-job-attributes.c | 38 ipp_get_job_attributes(papi_service_t svc, papi_attribute_t **request, argument 75 if ((status = papiJobQuery(svc, queue, id, req_attrs, &j)) != PAPI_OK) { 77 ipp_svc_status_mesg(svc, status));
|
H A D | get-jobs.c | 38 ipp_get_jobs(papi_service_t svc, papi_attribute_t **request, argument 81 status = papiPrinterListJobs(svc, queue, req_attrs, type, limit, &j); 84 ipp_svc_status_mesg(svc, status));
|
H A D | get-printer-attributes.c | 38 ipp_get_printer_attributes(papi_service_t svc, papi_attribute_t **request, argument 73 status = papiPrinterQuery(svc, queue, req_attrs, NULL, &p); 76 ipp_svc_status_mesg(svc, status));
|
H A D | restart-job.c | 38 ipp_restart_job(papi_service_t svc, papi_attribute_t **request, argument 78 if ((status = papiJobRestart(svc, queue, id)) != PAPI_OK) { 82 ipp_svc_status_mesg(svc, status));
|
H A D | set-job-attributes.c | 38 ipp_set_job_attributes(papi_service_t svc, papi_attribute_t **request, argument 76 status = papiJobModify(svc, queue, id, job_attributes, &j); 79 ipp_svc_status_mesg(svc, status));
|
H A D | set-printer-attributes.c | 38 ipp_set_printer_attributes(papi_service_t svc, papi_attribute_t **request, argument 68 status = papiPrinterModify(svc, queue, printer_attributes, &p); 71 ipp_svc_status_mesg(svc, status));
|
H A D | validate-job.c | 39 ipp_validate_job(papi_service_t svc, papi_attribute_t **request, argument 90 status = papiJobValidate(svc, queue, job_attributes, NULL, files, &j); 95 ipp_svc_status_mesg(svc, status));
|
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | psm.c | 48 psm_open(service_t *svc, char *scheme) argument 58 svc->so_handle = dlopen(path, RTLD_LAZY|RTLD_LOCAL|RTLD_GROUP); 59 if (svc->so_handle == NULL) { /* failed, set the result/message */ 65 detailed_error(svc, "psm_open(%s): %s: %s", scheme, path, 80 psm_sym(service_t *svc, char *name) argument 85 if ((svc != NULL) && (svc->so_handle != NULL) && (name != NULL)) { 86 if ((func = dlsym(svc->so_handle, name)) == NULL) 91 detailed_error(svc, "psm_sym(%s): %s", name, error);
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-cancel.c | 38 lpd_cancel_job(service_t *svc, int id) argument 45 if (svc == NULL) 52 if ((fd = lpd_open(svc, 'c', list, 15)) < 0) 74 lpd_purge_jobs(service_t *svc, job_t ***jobs) argument 81 if (svc == NULL) 84 if ((fd = lpd_open(svc, 'c', NULL, 15)) < 0) 87 queue = queue_name_from_uri(svc->uri);
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | accept.c | 60 papi_service_t svc = NULL; local 83 status = papiServiceCreate(&svc, printer, NULL, NULL, 88 printer, verbose_papi_message(svc, status)); 92 status = papiPrinterResume(svc, printer); 105 verbose_papi_message(svc, status)); 108 printer, verbose_papi_message(svc, status)); 113 papiServiceDestroy(svc);
|