Lines Matching refs:pjob
204 smbd_printjob_t pjob; in smbd_spool_copyfile() local
254 pjob.pj_pid = pthread_self(); in smbd_spool_copyfile()
255 pjob.pj_sysjob = 10; in smbd_spool_copyfile()
256 (void) strlcpy(pjob.pj_filename, path, SMBD_PJOBLEN); in smbd_spool_copyfile()
257 pjob.pj_start_time = time(NULL); in smbd_spool_copyfile()
258 pjob.pj_status = 2; in smbd_spool_copyfile()
259 pjob.pj_size = sbuf.st_blocks * 512; in smbd_spool_copyfile()
260 pjob.pj_page_count = 1; in smbd_spool_copyfile()
261 pjob.pj_isspooled = B_TRUE; in smbd_spool_copyfile()
262 pjob.pj_jobnum = smbd_cups_jobnum; in smbd_spool_copyfile()
264 (void) strlcpy(pjob.pj_jobname, doc_name, SMBD_PJOBLEN); in smbd_spool_copyfile()
265 (void) strlcpy(pjob.pj_username, username, SMBD_PJOBLEN); in smbd_spool_copyfile()
266 (void) strlcpy(pjob.pj_queuename, SMBD_CUPS_SPOOL_DIR, SMBD_PJOBLEN); in smbd_spool_copyfile()
272 "requesting-user-name", NULL, pjob.pj_username); in smbd_spool_copyfile()
285 SMBD_FN_PREFIX, pjob.pj_jobnum); in smbd_spool_copyfile()
292 pjob.pj_filename); in smbd_spool_copyfile()
310 (void) unlink(pjob.pj_filename); in smbd_spool_copyfile()