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>
Fri, 22 Jun 2012 17:29:08 +0000 (19:29 +0200)
commitec610a2728bb9a75b53c91b4cc34a4daecafd71e
treebe0d27463effa518c73974aaefe5ac71e623ea30
parent95b89ebac80a9dcfbed340138719fede1d9fb4a8
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