gsasl_server_application_data_get(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

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