Lines Matching defs:job
76 /* Return the next job number for a printer */
89 /* Create next job index if none exists */
180 /* Remove a job */
217 struct vlp_job job;
227 ZERO_STRUCT(job);
229 /* Create a job record */
232 fstrcat(job.jobname, argv[i]);
234 fstrcat(job.jobname, " ");
242 fstrcpy(job.owner, pw->pw_name);
244 job.jobid = next_jobnum(printer);
245 job.size = 666;
246 job.submit_time = time(NULL);
248 /* Store job entry in queue */
256 /* Add job to end of queue */
262 memcpy(value.dptr + value.dsize, &job, sizeof(struct vlp_job));
273 tdb_store_by_string(tdb, keystr, &job, sizeof(struct vlp_job));
313 /* Pause a job */
342 /* Resume a job */