gsasl_server_application_data_get(3)
π gsasl_server_application_data_get β the libgsasl page, bestie edition π
okay so. you're in the gsasl manual (that's the GNU SASL situation, iykyk β¨), and this particular page is about gsasl_server_application_data_get. it's an API function. let's get into it π«Ά
β¨ SYNOPSIS β¨
#include <gsasl.h>
void * gsasl_server_application_data_get(Gsasl_session * sctx);
π ARGUMENTS π
Gsasl_session * sctxβ the libgsasl server handle. your server-side main character π
πΈ DESCRIPTION πΈ
so basically: this pulls your application specific data back out of a libgsasl server handle. it's giving "where did i put my stuff" but make it API β¨
the data got in there in the first place via gsasl_server_application_data_set() β that's the setter, this is the getter, they're a matched set, obsessed π
and what's it for? it's normally used by the application to maintain state between the main program and the callback. that's it, that's the whole vibe β you're passing notes between your main program and your callback like it's a group chat π¦
Return value: it hands back the application specific data. or, if there's nothing there... NULL. no data, no problem, no cap π
β οΈ DEPRECATED β οΈ
bestie. listen. this one is deprecated. it's not the moment anymore π
use gsasl_callback_hook_get() or gsasl_session_hook_get() instead. those are the current faves, the upgraded versions, the glow-up π
π REPORTING BUGS π
found a bug? do NOT suffer in silence, that's not the energy. report it to:
<bug-gsasl@gnu.org>
general guidelines for reporting bugs live over at:
and the GNU SASL home page is right here:
π 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, very generous, very iconic π)
π 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. the way that just works π
as an alternative, you may obtain the manual from:
http://www.gnu.org/software/gsasl/manual/
and that's the page, bestie π
signing off with the receipts: this is from gsasl, version 1.10.0, and it's the gsasl_server_application_data_get(3) page β that's the whole footer situation, delivered with love π
π¦ 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