shishi_as_krberror_der(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

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

okay so this is the manual page for shishi_as_krberror_der(3), part of the GNU Shishi family. yes, the whole thing is literally just one function, and she's that girl. let's get into it 🫢


✨ NAME ✨

shishi_as_krberror_der β€” an API function πŸ’…

like. that's it. that's the name. iconic behaviour honestly.


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_as_krberror_der(Shishi_as * as, char ** out, size_t *
outlen);

so you include <shishi.h> (obviously), and then you call her with three lil arguments and get back an int. the way that she needs both an output array and its length is giving very thorough, very prepared, very main character πŸ’œ


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi_as * as β€” the structure that holds all the info about the AS exchange. she's the context, she's the moment, she's everything.
  • char ** out β€” output array, and inside it goes a newly allocated DER encoding of KRB-ERROR. fresh out the oven, just for you ✨
  • size_t * outlen β€” the length of that output array with the DER encoding of KRB-ERROR. yes bestie, we're measuring. we're always measuring πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this function DER encodes KRB-ERROR. that's the whole job, and she does it flawlessly, no notes.

out gets allocated by this function, and β€” and this is the important part, don't skip it β€” it is the responsibility of the caller to deallocate it. so like, she hands you the keys to the car, but you're the one paying for parking. remember that. write it down. put it on your mirror. πŸͺž


⭐ RETURN VALUE ⭐

returns SHISHI_OK iff successful. and only iff successful. she does not do participation trophies πŸ’€


🌈 REPORTING BUGS 🌈

found a bug? no gatekeeping, tell the devs fr fr:


Copyright Β© 2002-2022 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 basically: share it, remix it, love it β€” just keep the receipts, bestie πŸ§ΎπŸ’–


🌟 SEE ALSO 🌟

the full documentation for shishi is maintained as a Texinfo manual. if the info and shishi programs are properly installed at your site, this command

info shishi

should give you access to the complete manual. go read it. it's giving ✨educated✨ πŸŽ“


sending you off with love: this page comes from shishi, version 1.0.3 β€” that's the source and the version, and the page you're reading is shishi_as_krberror_der(3). mwah πŸ’‹ stay DER-encoded, stay unbothered πŸ¦‹πŸ’œ