gsasl_client_ca...ck_password_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸ’– gsasl_client_callback_password_set(3) β€” the libgsasl glow-up ✨

okay bestie, sit down, hydrate, because we're talking about a function from the gsasl manual and she is lowkey retired but still living in your headers rent-free. let's get into it 🫢


🌸 NAME 🌸

gsasl_client_callback_password_set β€” an API function, no cap πŸ’…


✨ SYNOPSIS ✨

#include <gsasl.h>

void gsasl_client_callback_password_set(Gsasl * ctx,
       Gsasl_client_callback_password cb);

like yes she returns void, she's not here to give you answers, she's here to set the vibe. periodt.


πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl * ctx β€” the libgsasl handle. your main character. the whole plot. 🌈
  • Gsasl_client_callback_password cb β€” the callback function. the little guy who's gonna do the work when the time comes 🧚

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea. you call this and you're specifying the callback function that the client should use to set the password. that's it, that's the whole job πŸ“

and then later β€” like, whenever you actually need her β€” you can grab that function right back with gsasl_client_callback_password_get(). set and get, they're a matching set, it's giving coordinated bestie outfits πŸ’–


😭 DEPRECATED 😭

bestie. i need you to hear me. this function is part of the old callback interface. she's deprecated. she's nostalgic. she's still here but she knows.

the new interface is the moment, and it goes like this:

  • use gsasl_callback_set() to set the application callback πŸ‘‘
  • use gsasl_callback() or gsasl_property_get() to invoke that callback for certain properties 🌟

so like, the old way was one-callback-per-thing, and the new way is one callback to rule them all and it's iconic. if you're writing new code, go new interface. if you're maintaining old code… i'm praying for you πŸ™πŸ’€


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not her fault (probably) but 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.

(translation: share her, remix her, just keep the receipts πŸ’Œ)


🌟 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. as an alternative you may obtain the manual from:

http://www.gnu.org/software/gsasl/manual/

mwah πŸ’‹ that's the whole page. love that for us. now go set your callbacks (the new way, bestie, the new way) πŸ’…βœ¨

version 1.10.0, gsasl manual, and yes she's the gsasl_client_ca...ck_password_set(3) page β€” the one with the dramatic ellipsis in the title because the name was too long for the header. relatable honestly. πŸŽ€

πŸ“¦ where this page comes from