gsasl_client_ca...ck_password_set(3)
π gsasl_client_callback_password_set(3) β the libgsasl glow-up β¨
okay bestie, sit down, hydrate, because we're talking about a function from the gsasl manual and she is lowkey retired but still living in your headers rent-free. let's get into it π«Ά
πΈ NAME πΈ
gsasl_client_callback_password_set β an API function, no cap π
β¨ SYNOPSIS β¨
#include <gsasl.h>
void gsasl_client_callback_password_set(Gsasl * ctx,
Gsasl_client_callback_password cb);
like yes she returns void, she's not here to give you answers, she's here to set the vibe. periodt.
π ARGUMENTS π
Gsasl * ctxβ the libgsasl handle. your main character. the whole plot. πGsasl_client_callback_password cbβ the callback function. the little guy who's gonna do the work when the time comes π§
π DESCRIPTION π
okay so here's the tea. you call this and you're specifying the callback function that the client should use to set the password. that's it, that's the whole job π
and then later β like, whenever you actually need her β you can grab that function right back with gsasl_client_callback_password_get(). set and get, they're a matching set, it's giving coordinated bestie outfits π
π DEPRECATED π
bestie. i need you to hear me. this function is part of the old callback interface. she's deprecated. she's nostalgic. she's still here but she knows.
the new interface is the moment, and it goes like this:
- use
gsasl_callback_set()to set the application callback π - use
gsasl_callback()orgsasl_property_get()to invoke that callback for certain properties π
so like, the old way was one-callback-per-thing, and the new way is one callback to rule them all and it's iconic. if you're writing new code, go new interface. if you're maintaining old codeβ¦ i'm praying for you ππ
π REPORTING BUGS π
found a bug? not her fault (probably) but tell the people:
- report bugs to
<bug-gsasl@gnu.org>π§ - general guidelines for reporting bugs:
http://www.gnu.org/gethelp/ - GNU SASL home page:
http://www.gnu.org/software/gsasl/
π¦ COPYRIGHT π¦
Copyright Β© 2002-2021 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
(translation: share her, remix her, just keep the receipts π)
π 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, this command
info gsasl
should give you access to the complete manual. as an alternative you may obtain the manual from:
http://www.gnu.org/software/gsasl/manual/
mwah π that's the whole page. love that for us. now go set your callbacks (the new way, bestie, the new way) π β¨
version 1.10.0, gsasl manual, and yes she's the gsasl_client_ca...ck_password_set(3) page β the one with the dramatic ellipsis in the title because the name was too long for the header. relatable honestly. π
π¦ 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