shishi_krberror_read(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_read ✨

okay bestie, welcome to the shishi_krberror_read(3) page, from the shishi manual πŸ’– this one is short and sweet and honestly kinda iconic for it.


πŸ¦‹ NAME πŸ¦‹

shishi_krberror_read β€” it's an API function, babes. that's the whole vibe.


🌸 SYNOPSIS 🌸

#include <shishi.h>

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

look at her. three little params. no notes. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). yes, the same one. she's been with you this whole time 🫢
  • FILE * fh β€” a file handle that's open for reading. open for reading, bestie. reading. don't come at me with a write-mode file πŸ™ˆ
  • Shishi_asn1 * krberror β€” an output variable, and it's gonna hold a newly allocated KRB-ERROR. fresh out the box, brand new, no cap ✨

πŸ’œ DESCRIPTION πŸ’œ

So basically: this function reads a DER encoded KRB-ERROR from a file, and populates the variable you handed it. That's it. That's the whole thing. Read the error, fill the variable. main character energy fr fr πŸ‘‘


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. and only iff. read the iff, it matters 😭


πŸ› REPORTING BUGS πŸ›

Found a bug? Don't be shy, tell the devs β€” report bugs to <bug-shishi@gnu.org> πŸ’Œ


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, that's a very chill license honestly 🌈)


🧚 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 page!! shishi 1.0.3, shishi_krberror_read(3) β€” mwah, go read your KRB-ERRORs responsibly πŸ’–πŸŽ€πŸ¦‹