cupsSetPasswordCB() function in libcups

Michael Sweet mike at easysw.com
Thu Jun 26 22:12:35 PDT 2008


Cherif YAYA wrote:
> Hi,
> I neeed to use the cupsSetPasswordCB() function. It takes a cups_password_cb_t function as input. That type is defined as follows :
> typedef const char * (*cups_password_cb_t)(const char *);
> 
> However, the doc does not specify what char * argument to the callback is supposed to represent.
> 
> Can someone please clarify that?

It is a localized (UTF-8) prompt string to display.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list