gsasl_server_ca..._digest_md5_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸ’– gsasl_server_callback_digest_md5_set(3) πŸ’–

okay so bestie, we're in the gsasl manual (section 3, the library-functions girlies) and today's main character is gsasl_server_callback_digest_md5_set. yes the name is long. yes it's iconic. let's go πŸ¦‹


✨ NAME ✨

gsasl_server_callback_digest_md5_set β€” it's an API function, no cap πŸ’…


🌸 SYNOPSIS 🌸

#include <gsasl.h>

void gsasl_server_callback_digest_md5_set(Gsasl * ctx,
Gsasl_server_callback_digest_md5 cb);

like literally that's the whole vibe. two args, void return, she does her thing and leaves πŸŽ€


🫢 ARGUMENTS 🫢

  • Gsasl * ctx β€” your libgsasl handle. the little universe this call lives in 🌈
  • Gsasl_server_callback_digest_md5 cb β€” the callback function. the actual girl who does the work πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so what she does: you use this to specify the callback function that the server should use for retrieving the secret hash of the username, realm and password, for use in the DIGEST-MD5 mechanism. iykyk πŸ”₯

and the bestie part? you can get that function back later with gsasl_server_callback_digest_md5_get(). it's giving "set it and forget it, but also you can retrieve it whenever" πŸ’«


😭 DEPRECATED 😭

okay so this is the part where i have to be the bearer of bad news πŸ’€

this function is part of the old callback interface. 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... she still works, but she's the vintage piece in your closet. the new girlies are running things now. be aware 🫢


πŸ› REPORTING BUGS πŸ›

found a bug? not the cute kind? spill to <bug-gsasl@gnu.org> πŸ“§


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. slay, honestly β€” that's a genuinely generous license ✨


πŸ” 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 page, bestie!! 🌟 this was the gsasl manual, version 1.10.0, page gsasl_server_ca..._digest_md5_set(3). go forth and set your callbacks responsibly πŸ’–πŸŽ€πŸ¦‹πŸŒΈ periodt.

πŸ“¦ where this page comes from