gsasl_client_ca...ck_passcode_set(3)
π 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:
- report bugs to
<bug-gsasl@gnu.org>π§ - general guidelines for reporting bugs live at: http://www.gnu.org/gethelp/
- GNU SASL home page: http://www.gnu.org/software/gsasl/
π COPYRIGHT π
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
- ubuntu jammy: libgsasl-dev 1.10.0-5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms