gsasl_server_ca...ck_retrieve_set(3)
π gsasl_server_ca...ck_retrieve_set β the manual page, bestie edition π
okay so you're in the gsasl manual (that's the GNU SASL one, section 3, library calls only, iykyk) and you landed on this page. don't worry, I got you. this is literally the glow-up guide for one very specific little function. let's go π¦
β¨ NAME β¨
gsasl_server_callback_retrieve_set β it's an API function, no more no less π
πΈ SYNOPSIS πΈ
#include <gsasl.h>
void gsasl_server_callback_retrieve_set(Gsasl * ctx,
Gsasl_server_callback_retrieve cb);
like yes it's a void function, it returns nothing, it just does the thing. main character behavior honestly β¨
π ARGUMENTS π
Gsasl * ctxβ the libgsasl handle, your little context baddie π«ΆGsasl_server_callback_retrieve cbβ the callback function itself. this is the star of the show β
π DESCRIPTION π
so what this does: you're specifying the callback function that the server should use to decide whether a user is authenticated. and it's making that call using three things β the authentication identity, the authorization identity, and the password. trio. iconique. π₯
and the cute part? you can grab that function back later with gsasl_server_callback_retrieve_get(). it's giving "set it and forget it but actually don't forget it, you can retrieve it". π§
β οΈ DEPRECATED β οΈ
not me having to tell you this but babe, this function is part of the OLD callback interface. it's deprecated. it's vintage. it's not the moment anymore. π
the new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke that callback for certain properties. so if you're writing new code, that's where the party's at. periodt. π
π REPORTING BUGS π
found a bug? spill the tea to <bug-gsasl@gnu.org> π§
general guidelines for reporting bugs live at: http://www.gnu.org/gethelp/
and the GNU SASL home page is right here: 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: it's free, 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, the command
info gsasl
should give you access to the complete manual. (run it. it's literally right there. go πββοΈ)
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 gsasl 1.10.0, brought to you by the gsasl crew β stay deprecated-free out there, mwah πβ¨
π¦ 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