gsasl_client_callback_service_get(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

✨ NAME ✨

gsasl_client_callback_service_get β€” an API function, bestie πŸ’– (and yes it lives in the gsasl manual, section 3, so you know it's a library call, not some random shell thing)


🌸 SYNOPSIS 🌸

#include <gsasl.h>

Gsasl_client_callback_service gsasl_client_callback_service_get(Gsasl *
ctx);

okay so like, one include, one function, one argument. she's lowkey simple. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl * ctx β€” the libgsasl handle. that's it. that's the whole argument. she just wants her context. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: at some point you called gsasl_client_callback_service_set() and gave her a callback. now you're like "wait. what was that callback again??" 😭 and that's literally the entire plot. this function goes and gets the callback that was earlier set by calling gsasl_client_callback_service_set().

Return value: it returns the callback that was earlier set by calling gsasl_client_callback_service_set(). no cap, that's the whole deal β€” you set it, you get it back. iconic behaviour honestly. ✨


πŸ’€ DEPRECATED πŸ’€

bestie. listen to me. this function is part of the old callback interface. it's giving legacy. it's giving "we don't do that anymore". πŸ™ˆ

the new interface uses gsasl_callback_set() to set the application callback, and then uses gsasl_callback() or gsasl_property_get() to invoke that callback for certain properties. so like, if you're writing new code, go hang out with the new interface, she's got main character energy now. πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? not her fault but ok, tell the people:


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. (which is honestly so generous of them, we love to see it. πŸŽ€)


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

iykyk β€” when in doubt, read the manual. she never lies. πŸ’…


and that's the whole page, bestie 🫢 this was gsasl version 1.10.0, dated right there in the footer, mwah πŸ’– stay deprecated-safe out there ✨

πŸ“¦ where this page comes from