gsasl_decode_inline(3)

πŸ“¦ version 1.10.0, in ubuntu jammy

πŸ’– gsasl_decode_inline β€” the manual page, bestie edition πŸ’–

okay so we're in the gsasl manual, section 3 (that's the library-functions section, iykyk), and today's main character is gsasl_decode_inline. she's an API function. she's also, um. retired. we'll get to that. 🫢


✨ NAME ✨

gsasl_decode_inline β€” API function. that's it, that's the name. short, sweet, iconic. πŸ’…


🌸 SYNOPSIS 🌸

#include <gsasl.h>

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

like, copy that verbatim babes, the compiler is not forgiving and neither is #include <gsasl.h>. 🌈


πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl_session * sctx β€” your libgsasl session handle. the whole vibe holder. she knows things about your session that you do not. πŸ‘‘
  • const char * input β€” the input byte array. the raw material. the tea being spilled. πŸ’Œ
  • size_t input_len β€” how big that input byte array is. count your bytes bestie, don't guess. πŸ“
  • char * output β€” the output byte array. where the decoded stuff lands. make room for her. ✨
  • size_t * output_len β€” the size of the output byte array. pointer, so she can be updated. she writes back. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so the whole thing: she decodes data according to the negotiated SASL mechanism. and ngl that might mean the data is integrity protected or privacy protected β€” like, there's layers, it's giving security onion. πŸ§…βœ¨

Return value: returns GSASL_OK if the encoding was successful, otherwise an error code. so like, check it. fr fr. πŸ™ˆ


πŸ’€ DEPRECATED πŸ’€

she's deprecated, bestie. use gsasl_decode() instead. this is not a drill, this is not a vibe check you can pass. move on. πŸ’€πŸ’…

⭐ SINCE ⭐

0.2.0 β€” she's been around since 0.2.0. an elder. a legend. a historical figure. πŸŽ€


πŸ”₯ REPORTING BUGS πŸ”₯

found a bug? do NOT suffer in silence, tell the people:


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.

(so like, yes you can share her, just keep the receipts. that's the rule. periodt. πŸ’–)


🌈 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. (the whole thing!! the extended universe!! obsessed. πŸ˜­πŸ’œ)

as an alternative you may obtain the manual from:

http://www.gnu.org/software/gsasl/manual/

ok that's the page!! every flag, every argument, every byte, all of it, preserved, slayed, served. πŸ“

and a lil sign-off for you: this page is from gsasl version 1.10.0, and the footer said gsasl_decode_inline(3) β€” that's us, that's the girl, we're done here. bye bestie, go call gsasl_decode() instead. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from