/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, argument 229 if ((svc == NULL) || (name == NULL) || job_id < 0) 233 status = lpd_find_job_info(svc, job_id, (job_t **)job); 239 papiJobCancel(papi_service_t handle, char *name, int32_t job_id) argument 244 if ((svc == NULL) || (name == NULL) || (job_id < 0)) 248 status = lpd_cancel_job(svc, job_id);
|
H A D | lpd-job.c | 616 int job_id = 0; local 617 read(fd, &job_id, sizeof (job_id)); 619 "job-id", job_id);
|
H A D | lpd-query.c | 472 lpd_find_job_info(service_t *svc, int job_id, job_t **job) argument 486 if (id == job_id)
|
H A D | lpd-port.c | 496 submit_job(int sock, char *printer, int job_id, char *path) argument 511 sock, printer, job_id, path); 518 sock, printer, job_id, path); 526 sock, printer, job_id, path); 534 sock, printer, job_id, path); 541 if (massage_control_data(metadata, job_id) < 0) { 559 if (send_control_file(sock, metadata, job_id) < 0) { 595 write(fd, &job_id, sizeof (job_id));
|
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | job.c | 260 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, argument 280 result = f(svc->svc_handle, svc->name, job_id, 287 papiJobMove(papi_service_t handle, char *printer, int32_t job_id, argument 294 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) 306 result = f(svc->svc_handle, svc->name, job_id, destination); 316 char *printer, int32_t job_id, char *function) 322 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) 330 result = f(svc->svc_handle, svc->name, job_id); 336 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id) argument 338 return (_papi_job_handle_printer_id(handle, printer, job_id, 315 _papi_job_handle_printer_id(papi_service_t handle, char *printer, int32_t job_id, char *function) argument 343 papiJobRelease(papi_service_t handle, char *printer, int32_t job_id) argument 350 papiJobRestart(papi_service_t handle, char *printer, int32_t job_id) argument 357 papiJobPromote(papi_service_t handle, char *printer, int32_t job_id) argument 364 papiJobCommit(papi_service_t handle, char *printer, int32_t job_id) argument 371 papiJobHold(papi_service_t handle, char *printer, int32_t job_id) argument 378 papiJobModify(papi_service_t handle, char *printer, int32_t job_id, papi_attribute_t **attributes, papi_job_t *job) argument [all...] |
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | ipp-support.c | 168 char *printer, int job_id) 191 if ((printer != NULL) && (job_id >= 0)) 193 "job-id", job_id); 167 ipp_initialize_operational_attributes(service_t *svc, papi_attribute_t ***op, char *printer, int job_id) argument
|
H A D | job.c | 473 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, argument 495 ipp_initialize_operational_attributes(svc, &op, printer, job_id); 523 char *printer, int32_t job_id, uint16_t type) 529 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) 539 ipp_initialize_operational_attributes(svc, &op, printer, job_id); 552 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id) argument 555 job_id, OPID_CANCEL_JOB)); 560 papiJobHold(papi_service_t handle, char *printer, int32_t job_id) argument 563 job_id, OPID_HOLD_JOB)); 567 papiJobRelease(papi_service_t handle, char *printer, int32_t job_id) argument 522 _job_cancel_hold_release_restart_promote(papi_service_t handle, char *printer, int32_t job_id, uint16_t type) argument 574 papiJobRestart(papi_service_t handle, char *printer, int32_t job_id) argument 581 papiJobPromote(papi_service_t handle, char *printer, int32_t job_id) argument 588 papiJobMove(papi_service_t handle, char *printer, int32_t job_id, char *destination) argument 627 papiJobModify(papi_service_t handle, char *printer, int32_t job_id, papi_attribute_t **attributes, papi_job_t *job) argument [all...] |
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-msgs.c | 240 lpsched_start_change(papi_service_t svc, char *printer, int32_t job_id, argument 248 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) 251 dest = printer_name_from_uri_id(printer, job_id); 252 snprintf(req, sizeof (req), "%s-%d", dest, job_id); 263 job_id, lpsched_status_string(status)); 271 lpsched_end_change(papi_service_t svc, char *printer, int32_t job_id) argument 279 if ((svc == NULL) || (printer == NULL) || (job_id < 0)) 282 dest = printer_name_from_uri_id(printer, job_id); 283 snprintf(req, sizeof (req), "%s-%d", dest, job_id); 293 job_id, lpsched_status_strin [all...] |
H A D | job.c | 935 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, argument 955 if ((handle == NULL) || (printer == NULL) || (job_id < 0)) 958 dest = printer_name_from_uri_id(printer, job_id); 959 snprintf(req_id, sizeof (req_id), "%s-%d", dest, job_id); 980 snprintf(req_id, sizeof (req_id), "%d-0", job_id); 990 papiJobMove(papi_service_t handle, char *printer, int32_t job_id, argument 1000 if ((svc == NULL) || (printer == NULL) || (job_id < 0) || 1004 queue = printer_name_from_uri_id(printer, job_id); 1005 snprintf(req_id, sizeof (req_id), "%s-%d", queue, job_id); 1035 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id) argument 1077 hold_release_job(papi_service_t handle, char *printer, int32_t job_id, int flag) argument 1130 papiJobHold(papi_service_t handle, char *printer, int32_t job_id) argument 1136 papiJobRelease(papi_service_t handle, char *printer, int32_t job_id) argument 1142 papiJobPromote(papi_service_t handle, char *printer, int32_t job_id) argument 1148 papiJobModify(papi_service_t handle, char *printer, int32_t job_id, papi_attribute_t **attributes, papi_job_t *job) argument [all...] |