gsasl_client_callback_pin_get(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸ’– gsasl_client_callback_pin_get πŸ’–

okay bestie, so this one lives in the gsasl manual (yes, that gsasl, the GNU SASL one), and it's a lil function that goes and fetches a callback you set up earlier. lowkey deprecated, but we'll get to that. sit down, hydrate, let's go 🫢


✨ NAME ✨

gsasl_client_callback_pin_get β€” API function. that's it, that's the name, she's an API function πŸ’…


🌸 SYNOPSIS 🌸

#include <gsasl.h>

Gsasl_client_callback_pin gsasl_client_callback_pin_get(Gsasl * ctx);

like yes, include gsasl.h first, obviously, don't be that person πŸ™ˆ


πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl * ctx β€” the libgsasl handle. that's the whole vibe of this arg, it's just your handle, no drama ✨

πŸ’œ DESCRIPTION πŸ’œ

bestie, it literally gets the callback that you earlier set by calling gsasl_client_callback_pin_set(). that's the whole plot. no twists. no side quests. 🌈

Return value: returns the callback earlier set by calling gsasl_client_callback_pin_set(). so like... if you never set one, don't come crying to me, okay? 😭


πŸ’€ DEPRECATED πŸ’€

okay so this is the part where I hold your hand. this function is part of the old callback interface. she's giving legacy. she's giving "we don't do that 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, that's the glow-up. use the new one. periodt πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? not on my watch. report it 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/ β€” 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. (iconic behaviour honestly, very generous, very slay πŸ’–)


🌟 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 gsasl version 1.10.0, page gsasl_client_callback_pin_get(3) β€” mwah, go set your callbacks the new way, ily, bye πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from