gsasl_server_ca...ck_retrieve_get(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

✨ gsasl_server_callback_retrieve_get β€” the manual page, but make it make sense ✨

okay so bestie, you're reading the gsasl manual (that's GNU SASL, the SASL library, iykyk) and this little cutie lives in section 3 β€” the library functions section. Let's get into it πŸ’–


🌸 NAME 🌸

gsasl_server_callback_retrieve_get β€” an API function. that's it, that's the whole name. she's a getter. she gets. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <gsasl.h>

Gsasl_server_callback_retrieve gsasl_server_callback_retrieve_get(Gsasl
* ctx);

like yes, she takes one whole argument and hands you back a callback. main character energy fr fr ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Gsasl * ctx β€” your libgsasl handle. the little context object that holds all the state. hold her gently 🫢

πŸ’œ DESCRIPTION πŸ’œ

so what does she actually do? she goes and gets the callback that you set earlier by calling gsasl_server_callback_retrieve_set(). that's the vibe. get what you set. iconic symmetry.

Return value: returns the callback that was earlier set by calling gsasl_server_callback_retrieve_set(). yes, that's literally the same sentence twice, the manpage is like that, no cap 😭


πŸ’€ DEPRECATED πŸ’€

bestie. listen to me. this function is part of the old callback interface. she is legacy. she is vintage. she is not the moment anymore.

the new interface uses gsasl_callback_set() to set the application callback, and then uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

so like β€” technically she works, but you're writing new code? don't. use the new one. periodt. πŸ’…


😭 REPORTING BUGS 😭

found a bug? spill it to <bug-gsasl@gnu.org>. they want to hear it, fr fr.

general guidelines for reporting bugs live at: http://www.gnu.org/gethelp/

and the GNU SASL home page is: http://www.gnu.org/software/gsasl/ β€” go say hi 🌈


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. (yes, you can copy her. she's generous like that πŸ’–)


🌟 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/

go forth and read, bestie πŸ“šβœ¨


anyway that's the whole page!! this was gsasl version 1.10.0, page gsasl_server_ca...ck_retrieve_get(3), and yeah β€” she's deprecated, so love her from a distance. mwah πŸ’‹

πŸ“¦ where this page comes from