Lines Matching defs:svc
50 service_t *svc = handle;
54 if ((svc == NULL) || (name == NULL) || (files == NULL) ||
59 detailed_error(svc,
64 if ((status = service_fill_in(svc, name)) != PAPI_OK)
68 detailed_error(svc,
79 (void) lpd_job_add_attributes(svc, attributes, &metadata,
82 if ((status = lpd_job_add_files(svc, attributes, files, &metadata,
88 status = lpd_submit_job(svc, metadata, &j->attributes, NULL);
111 service_t *svc = handle;
115 if ((svc == NULL) || (name == NULL) || (stream == NULL))
121 if ((status = service_fill_in(svc, name)) != PAPI_OK)
136 lpd_job_add_attributes(svc, attributes, &metadata, &s->job->attributes);
139 if ((svc->uri->fragment != NULL) &&
140 (strcasecmp(svc->uri->fragment, "streaming") == 0)) {
143 lpd_job_add_files(svc, attributes, files, &metadata,
145 status = lpd_submit_job(svc, metadata, &(s->job->attributes),
172 service_t *svc = handle;
175 if ((svc == NULL) || (stream == NULL) || (buffer == NULL) ||
189 service_t *svc = handle;
194 if ((svc == NULL) || (stream == NULL) || (job == NULL))
205 lpd_job_add_files(svc, s->job->attributes, files, &s->metadata,
207 status = lpd_submit_job(svc, s->metadata,
227 service_t *svc = handle;
229 if ((svc == NULL) || (name == NULL) || job_id < 0)
232 if ((status = service_fill_in(svc, name)) == PAPI_OK)
233 status = lpd_find_job_info(svc, job_id, (job_t **)job);
242 service_t *svc = handle;
244 if ((svc == NULL) || (name == NULL) || (job_id < 0))
247 if ((status = service_fill_in(svc, name)) == PAPI_OK)
248 status = lpd_cancel_job(svc, job_id);