faxd/Job.c++
/*
 * Update volatile job state from the job description
 * file.  This propagates client-alterable state from
 * on-disk to in-memory.  Note that we do not touch the
 * job state since there are cases where the scheduler
 * updates the in-memory state but does not save it to
 * the description file (maybe this will change?).
 */
Update volatile job state from the job description
file.  This propagates client-alterable state from
on-disk to in-memory.  Note that we do not touch the
job state since there are cases where the scheduler
updates the in-memory state but does not save it to
the description file (maybe this will change?).
Update volatile job state from the job description file . This propagates client - alterable state from on - disk to in - memory . Note that we do not touch the job state since there are cases where the scheduler updates the in - memory state but does not save it to the description file ( maybe this will change? ) .
void
Job::update(const FaxRequest& req)
{
    tts = (req.tts == 0 ? Sys::now() : req.tts);
    killtime = req.killtime;
    pri = req.pri;
    pagewidth = req.pagewidth;
    pagelength = req.pagelength;
    resolution = req.resolution;
    willpoll = (req.findItem(FaxRequest::send_poll) != fx_invalidArrayIndex);
    device = req.modem;
    tod.parse(req.timeofday);
}
void Job :: update ( const FaxRequest & req ) { tts = ( req . tts == 0 ? Sys :: now ( ) : req . tts ) ; killtime = req . killtime ; pri = req . pri ; pagewidth = req . pagewidth ; pagelength = req . pagelength ; resolution = req . resolution ; willpoll = ( req . findItem ( FaxRequest :: send_poll ) != fx_invalidArrayIndex ) ; device = req . modem ; tod . parse ( req . timeofday ) ; }
Update volatile job state from the job description
 file.
Update volatile job state from the job description file .
// NB: state is not overwritten