[cups.development] [RFE] STR #2953: Support for setting per-connection password callback

Michael Sweet msweet at apple.com
Tue Apr 28 22:20:04 PDT 2009


[STR Closed w/Resolution]

OK, added the following APIs:

typedef const char *(*cups_password_cb2_t)(const char *prompt, http_t
*http, const char *method, const char *resource, void *user_data);

extern const char *cupsGetPassword2(const char *prompt, http_t *http,
const char *method, const char *resource);
extern void cupsSetPasswordCB2(cups_password_cb2_t cb, void *user_data);

The callback is still per-thread, but the connection is passed as one of
the arguments (along with other necessary information...)

Link: http://www.cups.org/str.php?L2953
Version: 1.4-feature
Fix Version: 1.4-current (r8571)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: str2953.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20090428/c1a086e4/attachment.ksh>


More information about the cups mailing list