shishi_krberror_pretty_print(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_krberror_pretty_print(3) πŸ’–

okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_krberror_pretty_print β€” an API function that is, and I say this with love, doing the absolute most so you don't have to 🫢


✨ NAME ✨

shishi_krberror_pretty_print β€” API function

yes it's literally just labeled "API function", that's the whole vibe, we move.


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_krberror_pretty_print(Shishi * handle, FILE * fh, Shishi_asn1
krberror);

like, include the header and you're in, no cap πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and it has to be one that got allocated by shishi_init(). no bootleg handles, bestie, she knows.
  • FILE * fh β€” a file handle that's been opened for writing. it writes there. that's the whole point πŸ’…
  • Shishi_asn1 krberror β€” a KRB-ERROR structure, specifically one that has an error code in it. that's the drama we're about to narrate.

⭐ DESCRIPTION ⭐

okay so here's the tea: this function prints the KRB-ERROR error condition and some explanatory text, and it sends all of that to the file descriptor. that's it. that's the function. it takes your cryptic little error struct and turns it into something a human can actually read. it's giving translator. it's giving emotional support error message. we love her for it 🌈


πŸ‘‘ RETURN VALUE πŸ‘‘

Returns SHISHI_OK iff successful. (iff. as in if and only if. the mathematicians are shaking. slay.) ✨


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't suffer in silence, tell the people πŸ’Œ


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. periodt. πŸ’…


🧚 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, the command

info shishi

should give you access to the complete manual. iykyk πŸ“–βœ¨


and that's the whole page, bestie!! this was shishi version 1.0.3, third section, shishi_krberror_pretty_print(3) β€” go forth and pretty-print your errors, you're gonna eat πŸ’–πŸŽ€πŸ¦‹πŸ’