gsasl_client_callback_service_set(3)
π NAME π
gsasl_client_callback_service_set β bestie, this is an API function, and it's here to set your client's service callback. periodt.
β¨ SYNOPSIS β¨
#include <gsasl.h>
void gsasl_client_callback_service_set(Gsasl * ctx,
Gsasl_client_callback_service cb);
π ARGUMENTS π
Gsasl * ctxβ the libgsasl handle, aka your main character. π«ΆGsasl_client_callback_service cbβ the callback function. yes, the whole point. π
πΈ DESCRIPTION πΈ
okay so. this function tells your client which callback function to use when it needs to set the name of the service. like, it's the little handoff: "hey, here's the function that knows the service name, use it."
about that service buffer β it should be a registered GSSAPI host-based service name, and hostname is the name of the server. simple as that. π
and Servicename is used by DIGEST-MD5, and it should be the name of the generic server in case of a replicated service. (iykyk β replicated services are a whole vibe.)
you can grab this callback back later with gsasl_client_callback_service_get(). so it's not lost to the void, don't worry. π
π DEPRECATED π
not me being the bearer of bad news butβ¦ this function is part of the old callback interface. it's giving legacy. π
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 if you're starting fresh, go that way, bestie. π
π REPORTING BUGS π
found a bug? tell the devs, they wanna know, fr fr:
- Report bugs to <bug-gsasl@gnu.org>.
- General guidelines for reporting bugs: http://www.gnu.org/gethelp/
- GNU SASL home page: 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.
π¦ 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, this command:
info gsasl
should give you access to the complete manual. and if that's not hitting, you can also grab the manual from:
http://www.gnu.org/software/gsasl/manual/
and that's the whole page, bestie!! this little slice of gsasl lore is from gsasl 1.10.0 β go forth and set those service callbacks, you absolute icon π β¨ππ«Ά
π¦ 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