• Home
  • Raw
  • Download

Lines Matching full:job

2  * Print job definitions for the CUPS scheduler.
23 * Job request structure...
26 struct cupsd_job_s /**** Job request ****/
28 int id, /* Job ID */
29 priority, /* Job priority */
31 ipp_jstate_t state_value; /* Cached job-state */
32 int pending_timeout;/* Non-zero if the job was created and
36 char *name; /* Job name/title */
37 int koctets; /* job-k-octets */
39 cupsd_printer_t *printer; /* Printer this job is assigned to */
40 int num_files; /* Number of files in job */
43 ipp_attribute_t *impressions, /* job-impressions-completed */
44 *sheets; /* job-media-sheets-completed */
47 creation_time, /* When job was created */
48 completed_time, /* When job was completed (0 if not) */
49 file_time, /* Job file retain time */
50 history_time, /* Job history retain time */
53 ipp_attribute_t *state; /* Job state */
54 ipp_attribute_t *reasons; /* Job state reasons */
55 ipp_attribute_t *job_sheets; /* Job sheets (NULL if none) */
57 /* job-printer-state-message */
59 /* job-printer-state-reasons */
60 int current_file; /* Current file in job */
61 ipp_t *attrs; /* Job attributes */
66 cupsd_statbuf_t *status_buffer; /* Status buffer for this job */
75 int tries; /* Number of tries for this job */
76 int completed; /* cups-waiting-for-job-completed seen */
77 int retry_as_raster;/* Need to retry the job as raster */
89 typedef struct cupsd_joblog_s /**** Job log message ****/
101 /* Preserve job history? */
103 /* Preserve job files? */
105 /* Time for next job history update */
117 /* Max time for a job */
127 /* Next job ID to use */
145 extern void cupsdContinueJob(cupsd_job_t *job);
146 extern void cupsdDeleteJob(cupsd_job_t *job,
154 extern int cupsdLoadJob(cupsd_job_t *job);
155 extern void cupsdMoveJob(cupsd_job_t *job, cupsd_printer_t *p);
156 extern void cupsdReleaseJob(cupsd_job_t *job);
157 extern void cupsdRestartJob(cupsd_job_t *job);
159 extern void cupsdSaveJob(cupsd_job_t *job);
160 extern void cupsdSetJobHoldUntil(cupsd_job_t *job,
162 extern void cupsdSetJobPriority(cupsd_job_t *job, int priority);
163 extern void cupsdSetJobState(cupsd_job_t *job,
171 extern int cupsdTimeoutJob(cupsd_job_t *job);