gsasl_server_callback_service_set(3)
π gsasl_server_callback_service_set(3) π
okay bestie, welcome to the gsasl manual, and today's main character is gsasl_server_callback_service_set. it's giving very specific, very niche, very iconic. let's get into it π
β¨ NAME β¨
gsasl_server_callback_service_set β literally just an API function, no cap π
πΈ SYNOPSIS πΈ
#include <gsasl.h>
void gsasl_server_callback_service_set(Gsasl * ctx,
Gsasl_server_callback_service cb);
π¦ ARGUMENTS π¦
Gsasl * ctxβ your libgsasl handle, the little passport that says "yes this is my context" π«ΆGsasl_server_callback_servicecbβ the callback function itself. the whole point. the moment. β
π DESCRIPTION π
so what does this even do? basically you're telling the server which callback function to use when it needs to set the name of the service. that's it. that's the job. π
a couple of deets you cannot skip, fr fr:
- the service buffer should be a registered GSSAPI host-based service name
- hostname is the name of the server
and if you ever wanna get that callback back later? you can, bestie β just hit up gsasl_server_callback_service_get() and it'll be waiting for you. πβ¨
π DEPRECATED π
okay so, not to be dramatic, butβ¦ this function is part of the old callback interface. it's lowkey vintage. π°οΈ
the new interface is the upgrade, and it works like this:
- use
gsasl_callback_set()to set the application callback - use
gsasl_callback()orgsasl_property_get()to invoke the callback for certain properties
so likeβ¦ it still works, but it's giving throwback. use the new one if you can. periodt. π
π REPORTING BUGS π
found a bug? don't be shy, tell the devs:
- 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, 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. go forth and set your service callbacks responsibly π β¨
gsasl 1.10.0 β page gsasl_server_callback_service_set(3) π bye ily, drink water, read your manpages π¦π
π¦ 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