shishi_aprep_parse(3)
β¨ 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 fromshishi_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>.
- 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. 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 πβ¨
π¦ 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