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