/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | job.c | 258 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, in papiJobQuery() argument 278 result = f(svc->svc_handle, svc->name, job_id, in papiJobQuery() 285 papiJobMove(papi_service_t handle, char *printer, int32_t job_id, in papiJobMove() argument 292 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) in papiJobMove() 304 result = f(svc->svc_handle, svc->name, job_id, destination); in papiJobMove() 314 char *printer, int32_t job_id, char *function) in _papi_job_handle_printer_id() argument 320 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) in _papi_job_handle_printer_id() 328 result = f(svc->svc_handle, svc->name, job_id); in _papi_job_handle_printer_id() 334 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id) in papiJobCancel() argument 336 return (_papi_job_handle_printer_id(handle, printer, job_id, in papiJobCancel() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | job.c | 473 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, in papiJobQuery() argument 495 ipp_initialize_operational_attributes(svc, &op, printer, job_id); in papiJobQuery() 523 char *printer, int32_t job_id, uint16_t type) in _job_cancel_hold_release_restart_promote() argument 529 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) in _job_cancel_hold_release_restart_promote() 539 ipp_initialize_operational_attributes(svc, &op, printer, job_id); in _job_cancel_hold_release_restart_promote() 552 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id) in papiJobCancel() argument 555 job_id, OPID_CANCEL_JOB)); in papiJobCancel() 560 papiJobHold(papi_service_t handle, char *printer, int32_t job_id) in papiJobHold() argument 563 job_id, OPID_HOLD_JOB)); in papiJobHold() 567 papiJobRelease(papi_service_t handle, char *printer, int32_t job_id) in papiJobRelease() argument [all …]
|
H A D | papi_impl.h | 97 char *printer, int job_id);
|
H A D | ipp-support.c | 168 char *printer, int job_id) in ipp_initialize_operational_attributes() argument 191 if ((printer != NULL) && (job_id >= 0)) in ipp_initialize_operational_attributes() 193 "job-id", job_id); in ipp_initialize_operational_attributes()
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | job.c | 935 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, in papiJobQuery() argument 955 if ((handle == NULL) || (printer == NULL) || (job_id < 0)) in papiJobQuery() 958 dest = printer_name_from_uri_id(printer, job_id); in papiJobQuery() 959 snprintf(req_id, sizeof (req_id), "%s-%d", dest, job_id); in papiJobQuery() 980 snprintf(req_id, sizeof (req_id), "%d-0", job_id); in papiJobQuery() 990 papiJobMove(papi_service_t handle, char *printer, int32_t job_id, in papiJobMove() argument 1000 if ((svc == NULL) || (printer == NULL) || (job_id < 0) || in papiJobMove() 1004 queue = printer_name_from_uri_id(printer, job_id); in papiJobMove() 1005 snprintf(req_id, sizeof (req_id), "%s-%d", queue, job_id); in papiJobMove() 1035 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id) in papiJobCancel() argument [all …]
|
H A D | lpsched-msgs.c | 240 lpsched_start_change(papi_service_t svc, char *printer, int32_t job_id, in lpsched_start_change() argument 248 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) in lpsched_start_change() 251 dest = printer_name_from_uri_id(printer, job_id); in lpsched_start_change() 252 snprintf(req, sizeof (req), "%s-%d", dest, job_id); in lpsched_start_change() 263 job_id, lpsched_status_string(status)); in lpsched_start_change() 271 lpsched_end_change(papi_service_t svc, char *printer, int32_t job_id) in lpsched_end_change() argument 279 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) in lpsched_end_change() 282 dest = printer_name_from_uri_id(printer, job_id); in lpsched_end_change() 283 snprintf(req, sizeof (req), "%s-%d", dest, job_id); in lpsched_end_change() 293 job_id, lpsched_status_string(status)); in lpsched_end_change()
|
H A D | papi_impl.h | 116 char *printer, int32_t job_id, char **tmp); 118 char *printer, int32_t job_id);
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | papi.h | 383 int32_t job_id, char **requested_attrs, 386 int32_t job_id, 390 int32_t job_id, char *destination); 392 int32_t job_id); 394 int32_t job_id); 396 int32_t job_id); 398 int32_t job_id); 400 int32_t job_id);
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | job.c | 223 papiJobQuery(papi_service_t handle, char *name, int32_t job_id, in papiJobQuery() argument 229 if ((svc == NULL) || (name == NULL) || job_id < 0) in papiJobQuery() 233 status = lpd_find_job_info(svc, job_id, (job_t **)job); in papiJobQuery() 239 papiJobCancel(papi_service_t handle, char *name, int32_t job_id) in papiJobCancel() argument 244 if ((svc == NULL) || (name == NULL) || (job_id < 0)) in papiJobCancel() 248 status = lpd_cancel_job(svc, job_id); in papiJobCancel()
|
H A D | lpd-port.c | 496 submit_job(int sock, char *printer, int job_id, char *path) in submit_job() argument 511 sock, printer, job_id, path); in submit_job() 518 sock, printer, job_id, path); in submit_job() 526 sock, printer, job_id, path); in submit_job() 534 sock, printer, job_id, path); in submit_job() 541 if (massage_control_data(metadata, job_id) < 0) { in submit_job() 559 if (send_control_file(sock, metadata, job_id) < 0) { in submit_job() 595 write(fd, &job_id, sizeof (job_id)); in submit_job()
|
H A D | papi_impl.h | 87 extern papi_status_t lpd_cancel_job(service_t *svc, int job_id); 101 extern papi_status_t lpd_find_job_info(service_t *svc, int job_id, job_t **job);
|
H A D | lpd-job.c | 618 int job_id = 0; in lpd_submit_job() local 619 read(fd, &job_id, sizeof (job_id)); in lpd_submit_job() 621 "job-id", job_id); in lpd_submit_job()
|
H A D | lpd-query.c | 472 lpd_find_job_info(service_t *svc, int job_id, job_t **job) in lpd_find_job_info() argument 486 if (id == job_id) in lpd_find_job_info()
|