gsasl_server_start(3)

✨ NAME ✨

gsasl_server_start β€” it's an API function, bestie πŸ’… (the gsasl manual's got it filed under that name, just so you know where you are)


🌸 SYNOPSIS 🌸

#include <gsasl.h>

int gsasl_server_start(Gsasl * ctx, const char * mech, Gsasl_session **
sctx);

πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl * ctx β€” your libgsasl handle. the whole context, the main character 🫢
  • const char * mech β€” the name of the SASL mechanism. just the name, okay?
  • Gsasl_session ** sctx β€” a pointer to your server handle. yes, a pointer to it β€” she gets written into πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function initiates a server SASL authentication. that's her whole job, and she ate ✨

πŸ’€ the rule, no cap: this function must be called before any other gsasl_server_*() function is called. before. literally before all of them. don't be out here calling the other ones first, i'm begging πŸ™ˆ

Return value: she returns GSASL_OK if it all worked out, or an error code if it didn't 😭


πŸ”₯ REPORTING BUGS πŸ”₯

found a bug? don't just scream into the void, tell the people who can fix it:


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. (so yes, you can share her around β€” 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. (it's giving "everything you ever wanted to know" ⭐)

As an alternative you may obtain the manual from:

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

and that's the whole page, bestie β€” this was gsasl_server_start(3) from the gsasl manual, version 2.2.4, brought to you by the gsasl girlies πŸŽ€βœ¨ now go call her first, in the right order, and slay πŸ’…

πŸ“¦ where this page comes from