gsasl_mechanism_name(3)

πŸ’– gsasl_mechanism_name β€” NAME πŸ’–

okay bestie, welcome to the gsasl_mechanism_name(3) page, section 3 of the manual, brought to you by the gsasl girlies πŸ¦‹

gsasl_mechanism_name β€” it's literally an API function, no cap.


✨ SYNOPSIS ✨

#include <gsasl.h>

const char * gsasl_mechanism_name(Gsasl_session * sctx);

like. that's it. that's the whole vibe check πŸŽ€


🌸 ARGUMENTS 🌸

  • Gsasl_session * sctx β€” bestie this is your libgsasl session handle. your little session bestie. the one you've been yapping with this whole time πŸ’…

πŸ’« DESCRIPTION πŸ’«

so basically? this function returns the name of the SASL mechanism that's being used in the session. the way that it just... hands you the name. iconic behavior honestly ✨

🚨 GIRLIE LISTEN 🚨 the pointer it gives you must not be deallocated by the caller. do not free it. do not touch it. it's not yours, it's the library's. hands off, periodt πŸ’€

Return value: it returns a zero terminated character array with the name of the SASL mechanism, OR β€” and hear me out β€” NULL if it's not known πŸ™ˆ

so like, always check for NULL, fr fr.


πŸ•°οΈ SINCE πŸ•°οΈ

0.2.28 β€” this has been serving since way back, a true veteran πŸ’œ


πŸ› REPORTING BUGS πŸ›

found a bug? not the vibe. go tell the devs, they wanna know 🫢


Copyright Β© 2002-2026 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: keep the receipts, bestie, and you're golden ✨)


πŸ‘€ 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. (yes, just type that. slay.) πŸŽ€

As an alternative you may obtain the manual from:

https://www.gnu.org/software/libidn/gsasl/manual/

lowkey that's the whole page, and honestly? ate. no crumbs. πŸ’… this was gsasl version 2.2.4, page gsasl_mechanism_name(3) β€” mwah, go forth and know your mechanism names πŸŒˆβ­πŸ’–

πŸ“¦ where this page comes from