/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | defs.c | 45 struct jobs job = {0}; variable in typeref:struct:jobs
|
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | cups-move-job.c | 28 /* $Id: cups-move-job.c 146 2006-03-24 00:26:54Z njacobs $ */ 42 papi_attribute_t **operational = NULL, **job = NULL; local 55 * Get job attributes from the request 58 "job-attributes-group", &job); 61 "job-attributes-group: %s", 68 * job-uri (or printer-uri/job-id) 73 "missing job-uri or job [all...] |
H A D | common.c | 79 char *job = NULL; local 91 result = papiAttributeListGetString(attributes, NULL, "job-uri", &job); 97 "job-id", id); 99 *printer = job; 100 if ((job = strrchr(*printer, '/')) != NULL) { 101 *job = '\0'; 102 *id = atoi(++job); 176 if (papiAttributeListFind(group, "job-printer-uri") != NULL) 178 "job [all...] |
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-cancel.c | 95 job_t *job; local 102 "job-name", ptr); 105 "job-id", id); 107 "job-printer", queue); 109 if ((job = (job_t *)calloc(1, (sizeof (*job)))) 111 job->attributes = attributes; 112 list_append(jobs, job);
|
H A D | papi_impl.h | 50 typedef struct job { struct 55 job_t *job; /* describes current job */ member in struct:stream 71 cache_t *cache; /* printer/job cache */ 87 /* job cancelation */ 90 /* job submission */ 103 extern papi_status_t lpd_find_job_info(service_t *svc, int job_id, job_t **job);
|
H A D | job.c | 27 /* $Id: job.c 179 2006-07-17 18:24:07Z njacobs $ */ 47 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) 55 (job == NULL)) 60 gettext("papiJobSubmit: job ticket not supported")); 67 if ((*job = j = (job_t *)calloc(1, sizeof (*j))) == NULL) { 73 /* before creating a control file add the job-name */ 76 "job-name", files[0]); 87 /* send the job to the server */ 99 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) 102 job_ticket, files, job)); 46 papiJobSubmit(papi_service_t handle, char *name, papi_attribute_t **attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) argument 97 papiJobSubmitByReference(papi_service_t handle, char *name, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) argument 186 papiJobStreamClose(papi_service_t handle, papi_stream_t stream, papi_job_t *job) argument 223 papiJobQuery(papi_service_t handle, char *name, int32_t job_id, char **job_attributes, papi_job_t *job) argument 254 papiJobGetAttributeList(papi_job_t job) argument 265 papiJobGetPrinterName(papi_job_t job) argument 278 papiJobGetId(papi_job_t job) argument 291 papiJobFree(papi_job_t job) argument [all...] |
H A D | lpd-query.c | 57 * Print job entries start with: 58 * (user): (rank) [job (number) (...)] 59 * (user) is the job-owner's user name 61 * (number) is the job number 68 "[[:space:]]+[[][[:space:]]*job[[:space:]]*([[:digit:]]+)"\ 73 * Print job entries for remote windows printer start with: 80 * Owner is the job-owner's user name 81 * Status is the job-status (printing, waiting, error) 82 * Jobname is the name of the job to be printed 83 * Job-Id is the id of the job queue 151 parse_lpd_job(service_t *svc, job_t **job, int fd, char *line, int len) argument 378 job_t *job = NULL; local 472 lpd_find_job_info(service_t *svc, int job_id, job_t **job) argument [all...] |
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | papi_impl.h | 64 typedef struct job { struct 65 papi_attribute_t **attributes; /* job attributes */ 83 extern void job_status_to_attributes(job_t *job, char *req_id, char *user, 115 extern papi_status_t lpsched_commit_job(papi_service_t svc, char *job,
|
H A D | lpsched-jobs.c | 66 "job-class", "job-hold-until", "job-host", "job-name", 67 "job-originating-user-name", "job-printer", 68 "job-sheets", "lp-charset", "lp-modes", "number-up", 70 "pr-indent", "pr-title", "pr-width", "job-priority", 71 "requesting-user-name", "job-originating-host-name", 79 "job 470 job_status_to_attributes(job_t *job, char *req_id, char *user, char *slabel, size_t size, time_t date, short state, char *destination, char *form, char *charset, short rank, char *file) argument [all...] |
H A D | lpsched-msgs.c | 161 return (gettext("No filter available to convert job")); 169 return (gettext("unknown form specified in job")); 171 return (gettext("access denied to form specified in job")); 216 lpsched_commit_job(papi_service_t svc, char *job, char **tmp) argument 217 /* job is host/req-id */ 223 if ((svc == NULL) || (job == NULL) || (tmp == NULL)) 226 if ((snd_msg(svc, S_PRINT_REQUEST, job) < 0) || 231 detailed_error(svc, gettext("failed to commit job (%s): %s"), 232 job, lpsched_status_string(status)); 261 gettext("failed to initiate change for job ( [all...] |
H A D | printer.c | 452 job_t *job = NULL; local 474 * at this point, we should check to see if the job matches the 482 if ((job = calloc(1, sizeof (*job))) == NULL) 492 lpsched_read_job_configuration(svc, job, request_file); 494 job_status_to_attributes(job, req_id, owner, slabel, size, 497 list_append(jobs, job);
|
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | papi_impl.h | 67 typedef struct job { struct 69 papi_job_t *job; member in struct:job
|
H A D | job.c | 28 /* $Id: job.c 146 2006-03-24 00:26:54Z njacobs $ */ 38 papiJobFree(papi_job_t job) argument 40 job_t *tmp = (job_t *)job; 47 f(tmp->job); 65 papiJobGetAttributeList(papi_job_t job) argument 68 job_t *j = job; 70 if (job != NULL) { 76 result = f(j->job); 83 papiJobGetPrinterName(papi_job_t job) argument 86 job_t *j = job; 100 papiJobGetId(papi_job_t job) argument 117 papiJobGetJobTicket(papi_job_t job) argument 136 _papi_job_submit_reference_or_validate(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job, char *function) argument 166 papiJobSubmit(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) argument 176 papiJobSubmitByReference(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) argument 186 papiJobValidate(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) argument 238 papiJobStreamClose(papi_service_t handle, papi_stream_t stream, papi_job_t *job) argument 260 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, char **requested_attrs, papi_job_t *job) argument 378 papiJobModify(papi_service_t handle, char *printer, int32_t job_id, papi_attribute_t **attributes, papi_job_t *job) argument 411 papiJobCreate(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, papi_job_t *job) argument [all...] |
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | papi_impl.h | 74 typedef struct job { struct
|
H A D | job.c | 28 /* $Id: job.c 148 2006-04-25 16:54:17Z njacobs $ */ 47 papiJobFree(papi_job_t job) argument 49 job_t *tmp = (job_t *)job; 71 papiJobGetAttributeList(papi_job_t job) argument 74 job_t *j = job; 83 papiJobGetPrinterName(papi_job_t job) argument 86 job_t *j = job; 96 papiJobGetId(papi_job_t job) argument 99 job_t *j = job; 103 "job 109 papiJobGetJobTicket(papi_job_t job) argument 120 papi_attribute_t **operational = NULL, **job = NULL; local 199 internal_job_submit(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job, call_type_t call_type) argument 335 papiJobSubmit(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) argument 344 papiJobSubmitByReference(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) argument 353 papiJobValidate(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, char **files, papi_job_t *job) argument 429 papiJobStreamClose(papi_service_t handle, papi_stream_t stream, papi_job_t *job) argument 473 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, char **requested_attrs, papi_job_t *job) 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/model/netpr/ |
H A D | bsd_misc.c | 49 np_bsdjob_t *job; local 59 job = (np_bsdjob_t *)malloc(sizeof (np_bsdjob_t)); 60 ASSERT(job, MALLOC_ERR); 61 (void) memset(job, 0, sizeof (np_bsdjob_t)); 62 job->np_printer = "auto"; /* default "queue" */ 81 * Max job id for bsd is 999. 83 job->np_request_id = malloc(4); 84 ASSERT(job->np_request_id, MALLOC_ERR); 90 (void) snprintf(job->np_request_id, (size_t)4, 96 job 194 create_dfname(np_bsdjob_t *job) argument 222 create_cfname(np_bsdjob_t *job) argument 238 create_cfA_file(np_bsdjob_t *job) argument 256 job_primitive(np_bsdjob_t *job, char option, char *value) argument [all...] |
H A D | misc.c | 91 np_job_t * job; local 93 if ((job = calloc(1, sizeof (*job))) != NULL) { 94 job->protocol = BSD; 95 job->banner = BANNER; 98 return (job); 119 /* In this case, the message is the job request-id */ 121 "%%%%[job: %s status: ok source: Netpr]%%%%\n", msg);
|
H A D | netpr.h | 96 typedef struct job np_job_t; 100 * Contains the input data for this job. 104 struct job { struct
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | cancel.c | 54 get_job_id_requested(papi_job_t job) { argument 57 papi_attribute_t **list = papiJobGetAttributeList(job); 59 "job-id-requested", &rid); 165 if (id != -1) { /* it's a job */ 169 * Check if the job-id is job-id-requested 170 * or job-id. If it is job-id-requested then find 171 * corresponding job-id and send it to cancel 176 * Either it is a remote job whic [all...] |
H A D | lp.c | 71 papi_job_t job = NULL; local 100 "job-hold-until", "indefinite"); 104 "job-hold-until", "no-hold"); 108 "job-hold-until", optarg); 140 case 'i': /* modify job */ 183 "job-priority", i); 198 "job-name", optarg); 218 /* convert "banner", "nobanner" to "job-sheet" */ 223 "job-sheets", "none"); 260 "job [all...] |
H A D | lpr.c | 57 "[-J job] [-T title] " 70 papi_job_t job = NULL; local 108 "job-name", optarg); 130 "job-sheets", "none"); 231 "job-sheets", "standard"); 244 NULL, &av[optind], &job); 247 list, &job); 248 else if (copy == 0) /* reference the files in the job, default */ 250 NULL, &av[optind], &job); 253 NULL, &av[optind], &job); [all...] |
H A D | in.lpd.c | 155 "job-name", ++entry); 163 "job-sheets", "standard"); 174 * "job-originating-host-name", ++entry); 180 "job-originating-user-name", entry); 296 "job-hold-until", "indefinite"); 300 "job-hold-until", "no-hold"); 304 "job-hold-until", entry); 326 PAPI_ATTR_EXCL, "job-priority", i); 364 "job-sheets", "none"); 375 papi_job_t job local [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | gename.c | 37 int job; member in struct:__anon47 39 } syslst[30]; /* no more than 30 systems per job */ 68 pre, SYSNSIZE, sys, grade, syslst[n].job); 71 pre, sys, syslst[n].job & 0xffff, 142 syslst[nsys].job = n; 161 * retseq() is used to get the sequence number of a job 166 * the sequence number of the job for the system. 179 return(syslst[i].job);
|
/illumos-gate/usr/src/lib/libc/port/tpool/ |
H A D | thread_pool.c | 42 tpool_job_t *job; local 63 for (job = tpool->tp_head; job != NULL; job = tpool->tp_head) { 64 tpool->tp_head = job->tpj_next; 65 lfree(job, sizeof (*job)); 102 * Called by a worker thread on return from a tpool_dispatch()d job. 129 tpool_job_t *job; local 177 if ((job 330 tpool_job_t *job; local 514 tpool_job_t *job; local [all...] |
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | common.c | 125 papiJobGetId(papi_job_t job) argument
|