]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: Make pwgtoraster() consistent with other filter functions
authorTill Kamppeter <till.kamppeter@gmail.com>
Wed, 23 Mar 2022 23:28:50 +0000 (00:28 +0100)
committerTill Kamppeter <till.kamppeter@gmail.com>
Wed, 23 Mar 2022 23:28:50 +0000 (00:28 +0100)
commit54dacb4f18462fe8adce526c64f092c88b377da2
treeb96b6851c5b72fa19ff6006e9306c02e4644c8aa
parentac712e5aa85e5cbb8fc689a7fa7d5cf298aa2446
libcupsfilters: Make pwgtoraster() consistent with other filter functions

- Use cupsRasterPrepareHeader() instead of ppdRasterInterpretPPD() and
  cupsRasterParseIPPOptions().

- Join job options and job IPP attributes in a single option list, free the
  list in the end of the parseOpts() function.

- Do not pass the unused parameters pointer to the parseOpts() function.

- Remove conditionals fo supporting CUPS < 1.7.x.
cupsfilters/pwgtoraster.c