shishi_krberror_parse(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_parse β€” bestie, it's giving "read me a KRB-ERROR" ✨

okay so real talk, this one lives in the shishi manual (section 3, library functions, iykyk) and it's genuinely so useful once you get it. it's an API function, periodt.


🌸 SYNOPSIS 🌸

#include <shishi.h>

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

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, babes. you get one from shishi_init(), no other way around it.
  • FILE * fh β€” a file handle that's open for reading. that's the whole vibe.
  • Shishi_asn1 * krberror β€” an output variable that'll hold a freshly allocated KRB-ERROR. not me handing you a brand new one πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it literally does: it reads an ASCII armored DER encoded KRB-ERROR from the file, and then populates the variable you gave it. that's it, that's the whole thing. lowkey elegant, highkey iconic.


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. anything else and bestie… it was not successful 😭


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? spill the tea to <bug-shishi@gnu.org>. fr fr, they wanna know.


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. slay, honestly β€” that's such a generous license.


🌈 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. go read it, it's giving main character energy πŸ“š


and that's the whole page, bestie πŸ’œ this one's from shishi version 1.0.3, so if you're running that, you're golden. now go parse some KRB-ERRORs, you absolute icon 🫢✨