s3-printing: rename queue->job sysjob
authorDavid Disseldorp <ddiss@samba.org>
Fri, 27 Jan 2012 11:33:27 +0000 (12:33 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 25 Jun 2012 11:07:55 +0000 (13:07 +0200)
commit9270772d34b54fc974ac78eb78142ac34a7aa00f
tree0354d0661fc910ec19be8ffb1ee4830526c18bdd
parent9e1f2f37ecd052d9d42d6275aa005d04a2569f99
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