Use ippGet/ippSet (accessors) for IPP API.
commit023b586b479890933ab6687c4be184f821f04b1a
authorJiri Popelka <jpopelka@redhat.com>
Fri, 20 Jul 2012 18:53:31 +0000 (20 11:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Jul 2012 17:46:25 +0000 (26 19:46 +0200)
treea4f977657b8156bbf90a1295808d2ffb0bb99b48
parent5261386ca38dd87334deafc306d28651a7ca27af
Use ippGet/ippSet (accessors) for IPP API.

CUPS 1.6 makes various structures private and
introduces these ippGet and ippSet functions
for all of the fields in these structures.
http://www.cups.org/str.php?L3928

We define our own accessors when CUPS < 1.6.

Modified for 3.6.x by Jeremy Allison.

Signed-off-by: Jeremy Allison <jra@samba.org>
Fix bug #9055 - doesn't build against CUPS 1.6.
(cherry picked from commit 684f83433d9697137aab9d8516ad2155929e15bf)
source3/printing/print_cups.c
source3/printing/print_iprint.c