gsasl_appinfo_set(3)
π gsasl_appinfo_set(3) π
okay bestie, welcome to the gsasl manual β this is the page for gsasl_appinfo_set, and yes it's a whole vibe, let's go β¨
πΈ NAME πΈ
gsasl_appinfo_set β API function
β¨ SYNOPSIS β¨
#include <gsasl.h>
void gsasl_appinfo_set(Gsasl_session * sctx, void * appdata);
like, that's the whole thing. two args. no return value. she's simple, she's iconic π
π ARGUMENTS π
Gsasl_session * sctxβ the libgsasl session handle, aka the main character of this whole operation π«Άvoid * appdataβ an opaque pointer to application specific data. it's giving mystery, it's giving "don't look at me, i'm just a pointer" π
π DESCRIPTION π
so what does she actually do? she stores application specific data inside the libgsasl session handle. that's it, that's the job. no cap π§
then later β for instance, inside a callback β you can get that data back by calling gsasl_appinfo_get(). so it's a little hand-off, a lil pass-the-torch moment π₯
and what's it normally used for? keeping state between your main program and the callback. so your callback can be like "oh hey, i remember you" and everything stays consistent. obsessed, honestly π
π DEPRECATED π
bestie. no. this one is deprecated. use gsasl_callback_hook_set() instead. periodt.
like, she still works, but she's retired. respectfully. please use the other one π
π REPORTING BUGS π
found a bug? don't just sit there, tell someone! 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.
(translation: go off, 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, 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 π¦ gsasl 1.10.0, gsasl_appinfo_set(3), all wrapped up. slay, stay hydrated, and go call gsasl_callback_hook_set() instead π
β¨
π¦ 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