[cups.development] [RFE] STR #3453: Connection-specific password callback function and user settings

twaugh.redhat twaugh at redhat.com
Wed Dec 16 06:25:49 PST 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

The cupsUser() and cupsSetPasswordCB2() functions adjust global variables. 
As libcups still cannot be used in a non-blocking fashion (no, the
streaming API is no good for that) it must be used from a separate thread
in programs with a graphical user interface.  Accordingly it would be much
better to store these settings as part of the http_t object and provide
these:

void cupsSetUser2 (http_t *http, const char *user);
void cupsSetPasswordCB3 (http_t *http, cups_password_cb2_t cb,
                         void *user_data);

Link: http://www.cups.org/str.php?L3453
Version:  -feature





More information about the cups mailing list