gsasl_encode_inline(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

✨ NAME ✨

gsasl_encode_inline β€” it's the API function bestie, from the gsasl manual πŸ’–


🌸 SYNOPSIS 🌸

#include <gsasl.h>

int gsasl_encode_inline(Gsasl_session * sctx, const char * input, size_t
input_len, char * output, size_t * output_len);

πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl_session * sctx β€” the libgsasl session handle, aka your main character of the moment πŸ‘‘
  • const char * input β€” the input byte array, the raw tea you're about to send πŸ«–
  • size_t input_len β€” how big that input byte array is, the size of the tea, periodt πŸ“
  • char * output β€” the output byte array, where the glow-up lands ✨
  • size_t * output_len β€” the size of the output byte array πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

So basically, this encodes data according to the negotiated SASL mechanism. The way that works? It might mean your data is integrity or privacy protected πŸ”₯

Return value: it returns GSASL_OK if the encoding was successful, otherwise it hands you back an error code 😭


πŸ’€ DEPRECATED πŸ’€

Not me being deprecated... πŸ™ˆ use gsasl_encode() instead, bestie. This one is giving legacy energy, fr fr.

⭐ SINCE ⭐

0.2.0 β€” it's been iconic since way back 🧚


πŸ› REPORTING BUGS πŸ›

Found a bug? Report it to <bug-gsasl@gnu.org> 🫢

General guidelines for reporting bugs: http://www.gnu.org/gethelp/

GNU SASL home page: http://www.gnu.org/software/gsasl/


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, and also legally binding πŸ’œ


🌈 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/

okay that's the whole page, no cap πŸ’– this was gsasl_encode_inline(3) from gsasl version 1.10.0 β€” go forth and encode, bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from