summaryrefslogtreecommitdiff
path: root/cups/ppd-private.h
diff options
context:
space:
mode:
authorMichael R Sweet <michaelrsweet@gmail.com>2018-01-17 14:58:25 -0500
committerMichael R Sweet <michaelrsweet@gmail.com>2018-01-17 14:58:25 -0500
commit117bf0d1445b73dbd7c0f78c3b599969d828cf63 (patch)
tree82a7f23138a1bcc5851eeb8033eb0a7056889f4f /cups/ppd-private.h
parent4ef3ee3749c0de48ed75800167e65b4b7e3d7c7b (diff)
downloadcups-117bf0d1445b73dbd7c0f78c3b599969d828cf63.tar.gz
Fixed an issue with mapping finishing options (rdar://34250727)
cups/ppd-cache: - Change _ppdCacheGetFinishingValues to take a ppd_file_t * so we can check marked choices. - Update _cupsConvertOptions to send the ppd_file_t * to _ppdCacheGetFinishingValues. cups/testcache.c: - Update unit test.
Diffstat (limited to 'cups/ppd-private.h')
-rw-r--r--cups/ppd-private.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/cups/ppd-private.h b/cups/ppd-private.h
index 21e519ebd..2b2bd5d9a 100644
--- a/cups/ppd-private.h
+++ b/cups/ppd-private.h
@@ -167,11 +167,7 @@ extern int _ppdCacheGetFinishingOptions(_ppd_cache_t *pc,
ipp_finishings_t value,
int num_options,
cups_option_t **options);
-extern int _ppdCacheGetFinishingValues(_ppd_cache_t *pc,
- int num_options,
- cups_option_t *options,
- int max_values,
- int *values);
+extern int _ppdCacheGetFinishingValues(ppd_file_t *ppd, _ppd_cache_t *pc, int max_values, int *values);
extern const char *_ppdCacheGetInputSlot(_ppd_cache_t *pc, ipp_t *job,
const char *keyword);
extern const char *_ppdCacheGetMediaType(_ppd_cache_t *pc, ipp_t *job,