gsasl_application_data_set(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸ’– gsasl_application_data_set β€” the gsasl girlies' guide πŸ’–

okay so bestie, we're in the gsasl manual today, and this one is a tiny little function with a big secret: it's deprecated πŸ™ˆ. Let's get into it.


✨ NAME ✨

gsasl_application_data_set β€” literally just an API function, no cap πŸŽ€


🌸 SYNOPSIS 🌸

#include <gsasl.h>

void gsasl_application_data_set(Gsasl * ctx, void * appdata);

like. that's the whole thing. she's small but she's doing her best πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Gsasl * ctx β€” your libgsasl handle. the main character of the whole operation πŸ‘‘
  • void * appdata β€” an opaque pointer to application specific data. opaque meaning we don't peek inside, we just hold it, respectfully 🫢

πŸ’œ DESCRIPTION πŸ’œ

so what she does is: she stores application specific data inside the libgsasl handle. that's it. that's the job ✨

and the vibe is that later on β€” for instance, inside a callback β€” you can get that data back by calling gsasl_application_data_get(). it's giving storage unit for your own stuff πŸŽ€

normally it's used by the application to maintain state between the main program and the callback. so like, your main program says something, the callback needs to remember it, and this is the lil messenger between them πŸ’Œ


πŸ’€ DEPRECATED πŸ’€

bestie. i need you to hear me. use gsasl_callback_hook_set() instead. periodt. this one is on the way out 😭

πŸ› REPORTING BUGS πŸ›

found a bug? not on my watch. report bugs to <bug-gsasl@gnu.org>.

general guidelines for reporting bugs live at: http://www.gnu.org/gethelp/

and the GNU SASL home page is right here: http://www.gnu.org/software/gsasl/ 🌈


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 πŸ’–


πŸ”₯ 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. iykyk πŸ“–

as an alternative you may obtain the manual from:

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

and that's the whole page, bestie πŸ’… this was gsasl version 1.10.0, page gsasl_application_data_set(3) β€” go forth and store your appdata (in the non-deprecated way, please πŸŽ€βœ¨)

πŸ“¦ where this page comes from