gsasl_server_ca...ck_validate_get(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

✨ NAME ✨

gsasl_server_callback_validate_get β€” it's an API function, bestie πŸ’– (from the gsasl manual, if you were wondering who claims this one)


🌸 SYNOPSIS 🌸

#include <gsasl.h>

Gsasl_server_callback_validate gsasl_server_callback_validate_get(Gsasl * ctx);

πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl * ctx β€” the libgsasl handle, aka the little main character you're passing in 🫢

πŸ’… DESCRIPTION πŸ’…

Okay so real talk: this function gets you the callback that you set earlier by calling gsasl_server_callback_validate_set(). That's the whole vibe. It's a getter, it does a get. No cap. ✨

Return value: it returns the callback that you earlier set by calling gsasl_server_callback_validate_set(). Yes, literally the same thing twice, that's just how the manpage said it and I'm not gonna lie to you πŸ’€


πŸ’€ DEPRECATED πŸ’€

Not me having to tell you this… this function is part of the old callback interface. It's giving legacy, it's giving "we don't do that anymore", periodt. πŸ™ˆ

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… go do that instead, bestie. This one is lowkey on its way out πŸ¦‹

Use the new interface for new code. This old callback interface is deprecated, fr fr.

😭 REPORTING BUGS 😭

Found something broken? Not a vibe, but tell the maintainers:


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.


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

That's the whole page, bestie πŸ’– slay, you now understand gsasl_server_callback_validate_get better than like 90% of the internet. Signing off from the gsasl manual, version 1.10.0 πŸŽ€ stay deprecated-aware, drink water, and may your callbacks always be the new interface 🌸

πŸ“¦ where this page comes from