s3-printing: rename queue->job sysjob
commitdbca645eecfabbd2c43d5b70152bb3001aaef00c
authorDavid Disseldorp <ddiss@samba.org>
Fri, 27 Jan 2012 11:33:27 +0000 (27 12:33 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Tue, 26 Jun 2012 14:10:39 +0000 (26 16:10 +0200)
treee6dbab096c8c760008916b7c6a239d17a8885146
parenta66618f40223dfb0ef544169e32bfa074587df29
s3-printing: rename queue->job sysjob

Print jobs maintain two job identifiers, the jobid allocated by the
spoolss layer (pj->jobid), and the job identifier defined by the
printing backend (pj->sysjob).

Printer job queues currently only contain a single job identifier
variable (queue->job), the variable is sometimes representative of the
spoolss layer job identifier, and more often representative of the
printing backend id.

This change renames the queue job identifier from queue->job to
queue->sysjob, in preparation for a change to only store the printing
backend identifier.
source3/include/printing.h
source3/printing/lpq_parse.c
source3/printing/print_cups.c
source3/printing/print_iprint.c
source3/printing/printing.c
source3/rpc_server/spoolss/srv_spoolss_nt.c