Lines Matching refs:svc

57 	service_t *svc = handle;  in papiPrinterQuery()  local
60 if ((svc == NULL) || (name == NULL) || (printer == NULL)) in papiPrinterQuery()
63 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterQuery()
68 status = lpd_find_printer_info(svc, in papiPrinterQuery()
78 queue_name_from_uri(svc->uri)); in papiPrinterQuery()
80 if (uri_to_string(svc->uri, buf, sizeof (buf)) == 0) in papiPrinterQuery()
100 service_t *svc = handle; in papiPrinterPurgeJobs() local
102 if ((svc == NULL) || (name == NULL)) in papiPrinterPurgeJobs()
105 if ((status = service_fill_in(svc, name)) == PAPI_OK) in papiPrinterPurgeJobs()
106 status = lpd_purge_jobs(svc, (job_t ***)jobs); in papiPrinterPurgeJobs()
117 service_t *svc = handle; in papiPrinterListJobs() local
119 if ((svc == NULL) || (name == NULL) || (jobs == NULL)) in papiPrinterListJobs()
122 if ((status = service_fill_in(svc, name)) == PAPI_OK) in papiPrinterListJobs()
123 status = lpd_find_jobs_info(svc, (job_t ***)jobs); in papiPrinterListJobs()
167 service_t *svc = handle; in papiPrinterDisable() local
170 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterDisable()
171 detailed_error(svc, in papiPrinterDisable()
173 queue_name_from_uri(svc->uri)); in papiPrinterDisable()
181 service_t *svc = handle; in papiPrinterEnable() local
184 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterEnable()
185 detailed_error(svc, in papiPrinterEnable()
187 queue_name_from_uri(svc->uri)); in papiPrinterEnable()
196 service_t *svc = handle; in papiPrinterResume() local
199 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterResume()
200 detailed_error(svc, in papiPrinterResume()
202 queue_name_from_uri(svc->uri)); in papiPrinterResume()
211 service_t *svc = handle; in papiPrinterPause() local
214 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterPause()
215 detailed_error(svc, in papiPrinterPause()
217 queue_name_from_uri(svc->uri)); in papiPrinterPause()