gsasl_application_data_set(3)
π 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 π
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
- 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