MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsSetPasswordCB

Function cupsSetPasswordCB

cups/usersys.c:364–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362 */
363
364void
365cupsSetPasswordCB(cups_password_cb_t cb)/* I - Callback function */
366{
367 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */
368
369
370 if (cb == (cups_password_cb_t)0)
371 cg->password_cb = (cups_password_cb2_t)_cupsGetPassword;
372 else
373 cg->password_cb = (cups_password_cb2_t)cb;
374
375 cg->password_data = NULL;
376}
377
378
379/*

Callers 4

mainFunction · 0.85
cgiInitializeFunction · 0.85
cgiStartHTMLFunction · 0.85
mainFunction · 0.85

Calls 1

_cupsGlobalsFunction · 0.85

Tested by

no test coverage detected