gsasl_client_ca...ck_passcode_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸŽ€ gsasl_client_callback_passcode_set πŸŽ€

okay bestie, welcome to the gsasl manual πŸ’– this is a section (3) page, aka library-function territory, and today's main character is exactly one function. no cap, let's get into it. πŸ¦‹


✨ NAME ✨

gsasl_client_callback_passcode_set β€” it's an API function. that's the whole bio. πŸ’…


🌸 SYNOPSIS 🌸

#include <gsasl.h>

void gsasl_client_callback_passcode_set(Gsasl * ctx,
Gsasl_client_callback_passcode cb);

πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl * ctx β€” your libgsasl handle, the lil context object you're handing over.
  • Gsasl_client_callback_passcode cb β€” the callback function itself. that's literally the entire description, bestie, the original said it in three words and honestly? iconic. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

So here's the tea: this function lets you specify the callback function that the client should use to set the passcode. That's the assignment. ✨

And if you ever want it back later, you can retrieve it with gsasl_client_callback_passcode_get() β€” set and get, a matched pair, we love symmetry in this house. 🫢


⚠️ DEPRECATED ⚠️

bestie. stop right there. this function is deprecated β€” it belongs to the old callback interface. think flip phone energy. it still exists, it still works, but the timeline has moved on. 😭

The new interface does it differently: you use gsasl_callback_set() to set the application callback, and then you use gsasl_callback() or gsasl_property_get() to invoke that callback for certain properties. that's the glow-up route, fr fr. πŸ’…


πŸ› REPORTING BUGS πŸ›

found a bug? not the vibe, but okay, let's handle it:


Copyright Β© 2002-2021 Simon Josefsson. all the credit, none of it mine. πŸ’œ

and the license is genuinely chill: copying and distribution of this file, with or without modification, are permitted in any medium without royalty β€” as long as the copyright notice and this notice are preserved. so go forth, remix, redistribute, just keep the receipts. periodt. ✨


🌈 SEE ALSO 🌈

The full documentation for gsasl is maintained as a Texinfo manual. if the info and gsasl programs are properly installed at your site, then this:

info gsasl

should give you access to the complete manual. πŸ“–

as an alternative, you can also obtain the manual from:

http://www.gnu.org/software/gsasl/manual/

and that's a wrap on this one, bestie 🫢 stay safe out there, use the new callback interface, and hydrate. mwah. πŸ’–

β€” from the gsasl package, version 1.10.0, and yeah the page name up in the corner got squished to gsasl_client_ca...ck_passcode_set(3) because terminals are dramatic like that. no date on this one, just vibes. πŸŽ€

πŸ“¦ where this page comes from