Lines Matching defs:job
28 /* $Id: job.c 146 2006-03-24 00:26:54Z njacobs $ */
38 papiJobFree(papi_job_t job)
40 job_t *tmp = (job_t *)job;
47 f(tmp->job);
65 papiJobGetAttributeList(papi_job_t job)
68 job_t *j = job;
70 if (job != NULL) {
76 result = f(j->job);
83 papiJobGetPrinterName(papi_job_t job)
86 job_t *j = job;
88 if (job != NULL) {
93 result = f(j->job);
100 papiJobGetId(papi_job_t job)
103 job_t *j = job;
105 if (job != NULL) {
110 result = f(j->job);
117 papiJobGetJobTicket(papi_job_t job)
120 job_t *j = job;
122 if (job != NULL) {
128 result = f(j->job);
138 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job,
147 (job == NULL))
153 if ((*job = j = calloc(1, sizeof (*j))) == NULL)
160 job_ticket, files, &j->job);
168 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job)
171 job_attributes, job_ticket, files, job,
178 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job)
181 job_attributes, job_ticket, files, job,
188 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job)
191 job_attributes, job_ticket, files, job,
238 papiJobStreamClose(papi_service_t handle, papi_stream_t stream, papi_job_t *job)
245 if ((svc == NULL) || (stream == NULL) || (job == NULL))
248 if ((*job = j = calloc(1, sizeof (*j))) == NULL)
254 result = f(svc->svc_handle, stream, &j->job);
261 char **requested_attrs, papi_job_t *job)
274 if ((*job = j = calloc(1, sizeof (*j))) == NULL)
281 requested_attrs, &j->job);
379 papi_attribute_t **attributes, papi_job_t *job)
393 if ((*job = j = calloc(1, sizeof (*j))) == NULL)
400 &j->job);
413 papi_job_ticket_t *job_ticket, papi_job_t *job)
420 if ((svc == NULL) || (printer == NULL) || (job == NULL))
426 if ((*job = j = calloc(1, sizeof (*j))) == NULL)
433 job_ticket, &j->job);