shishi_krberror_parse(3)
π 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 fromshishi_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.
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
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 π«Άβ¨
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms