shishi_aprep_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_aprep_parse β€” the man page bestie edition ✨

okay so welcome to shishi_aprep_parse(3), part of the shishi manual, version 1.0.3. yes this is an API function and yes it's gonna eat πŸ’…


🌸 NAME 🌸

shishi_aprep_parse β€” an API function, bestie. that's literally the whole name section. iconic behavior tbh.


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_aprep_parse(Shishi * handle, FILE * fh, Shishi_asn1 * aprep);

like look at her. three args. she's doing the most and we love her for it πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, the one you got from shishi_init(). it's the main character, everything runs through her.
  • FILE * fh β€” a file handle that's open for reading. read mode only, she is not here to write, no cap.
  • Shishi_asn1 * aprep β€” an output variable, and it's gonna hold a newly allocated AP-REP. so it's empty when you hand it over, and full of AP-REP when she's done. the glow-up is real πŸ”₯

πŸ’– DESCRIPTION πŸ’–

so basically: she reads an ASCII armored DER encoded AP-REP out of a file, and then she populates the variable you gave her with it.

that's it. that's the whole thing. the way that she just reads and populates and doesn't make it weird πŸ˜­πŸ’…


⭐ RETURN VALUE ⭐

returns SHISHI_OK iff successful. yes, "iff" β€” if and only if. she's precise like that. any other value and something went sideways, bestie 🫢


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, tell someone. 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. so like, go off, but keep the receipts πŸ“œβœ¨


🌈 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. run it, it's giving encyclopedia but make it Kerberos 🧚


anyway that's the page! this was shishi 1.0.3, page shishi_aprep_parse(3), signing off πŸ’œ mwah, go parse something gorgeous bestie πŸŽ€βœ¨