gsasl_client_c...k_anonymous_set(3)
π NAME π
gsasl_client_callback_anonymous_set β bestie, it's an API function β¨
okay so real talk, this page lives in the gsasl manual (that's GNU SASL, the whole authentication vibe), and it's about setting one very specific little callback. let's get into it π«Ά
πΈ SYNOPSIS πΈ
#include <gsasl.h>
void gsasl_client_callback_anonymous_set(Gsasl * ctx,
Gsasl_client_callback_anonymous cb);
that's the whole shape of it. include the header, call the thing, done. no cap π
π ARGUMENTS π
Gsasl * ctxβ the libgsasl handle. your main character context object, the one everything hangs off of πGsasl_client_callback_anonymous cbβ the callback function itself. this is the lil function you're handing over πΈ
π¦ DESCRIPTION π¦
So what does it do. You're specifying the callback function that the client uses to set the anonymous token β and that token is usually just the user's email address. like, that's it, that's the vibe π
and here's the cute part: later on you can grab that same function back with gsasl_client_callback_anonymous_get(). so it's a set/get situation, very balanced, very symmetrical, we love to see it β¨
π DEPRECATED π
bestie. listen. this function is part of the old callback interface. it's giving legacy. it's giving "we don't do it like this anymore" π
The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.
so like, if you're writing fresh code, maybe don't reach for this one unless you have to. iykyk π
π REPORTING BUGS π
Found something cursed? Found something broken? 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/
they genuinely want to know, fr fr π«Ά
π 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: take it, share it, 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, the 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/
and that's the whole page, bestie!! this was the gsasl manual, version 1.10.0 β go forth and call your callbacks responsibly πΈπβ¨
π¦ 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