Searched defs:svc (Results 1 - 25 of 129) sorted by relevance

123456

/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dcups-accept-jobs.c38 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 Dcups-reject-jobs.c38 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 Denable-printer.c38 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 Dpause-printer.c38 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 Dresume-printer.c38 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 Dcancel-job.c38 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 Dcreate-job.c39 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 Dcups-get-default.c40 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 Ddisable-printer.c38 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 Dhold-job.c38 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 Dpurge-jobs.c38 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 Drelease-job.c38 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 Dcups-get-classes.c38 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 Dcups-get-printers.c38 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 Dcups-move-job.c38 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 Dget-job-attributes.c38 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 Dget-jobs.c38 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 Dget-printer-attributes.c38 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 Drestart-job.c38 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 Dset-job-attributes.c38 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 Dset-printer-attributes.c38 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 Dvalidate-job.c39 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 Dpsm.c48 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 Dlpd-cancel.c38 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 Daccept.c60 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);

Completed in 77 milliseconds

123456