gsasl_server_callback_service_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸ’– 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_service cb β€” 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() or gsasl_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:


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