summaryrefslogtreecommitdiff
path: root/cups/cups.h
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-02-22 14:16:46 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-02-22 14:16:46 -0500
commitc65e1c4ffd23d3f891c45207cd472f650880cebd (patch)
treeba449929f0549e5327cf183da3964813c7329c09 /cups/cups.h
parentbb54b17e78aa4af15c8b2898e152e7be76818146 (diff)
downloadcups-c65e1c4ffd23d3f891c45207cd472f650880cebd.tar.gz
Add public cupsEncodeOption API
Diffstat (limited to 'cups/cups.h')
-rw-r--r--cups/cups.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cups/cups.h b/cups/cups.h
index 225e6ca74..1a0b34a3d 100644
--- a/cups/cups.h
+++ b/cups/cups.h
@@ -601,7 +601,8 @@ extern int cupsAddIntegerOption(const char *name, int value, int num_options, c
extern int cupsGetIntegerOption(const char *name, int num_options, cups_option_t *options) _CUPS_API_2_2_4;
/* New in CUPS 2.3 */
-extern int cupsAddDestMediaOptions(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, cups_size_t *size, int num_options, cups_option_t **options);
+extern int cupsAddDestMediaOptions(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, cups_size_t *size, int num_options, cups_option_t **options) _CUPS_API_2_3;
+extern ipp_attribute_t *cupsEncodeOption(ipp_t *ipp, ipp_tag_t group_tag, const char *name, const char *value) _CUPS_API_2_3;
extern const char *cupsHashString(const unsigned char *hash, size_t hashsize, char *buffer, size_t bufsize) _CUPS_API_2_3;
# ifdef __cplusplus