shishi_authenticator_from_file(3)
π shishi_authenticator_from_file(3) π
okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_authenticator_from_file β an API function that literally just reads an Authenticator off your disk. no cap. it's giving "load file, get object." let's get into it π«Ά
β¨ NAME β¨
shishi_authenticator_from_file β API function π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_authenticator_from_file(Shishi * handle, Shishi_asn1 *
authenticator, int filetype, const char * filename);
β¨ ARGUMENTS β¨
Shishi * handleβ the shishi handle, and you get it fromshishi_init(). that's the vibe, that's the source, that's where it came from πΈShishi_asn1 * authenticatorβ output variable, and it holds the newly allocated Authenticator. yes queen, freshly allocated, brand new πint filetypeβ input variable that says what type of file we're reading. wanna know the options? go look atShishi_filetype, iykyk πconst char * filenameβ input variable with the filename to read from. that's the file. the one you're reading. periodt π
β¨ DESCRIPTION β¨
Read Authenticator from file in specified TYPE. that's it, that's the whole thing β you hand it a file, it hands you back an Authenticator. lowkey iconic π
β¨ RETURN VALUE β¨
Returns SHISHI_OK iff successful. and bestie, "iff" is doing a lot of heavy lifting there β anything that isn't SHISHI_OK means it did not slay π
β¨ REPORTING BUGS β¨
found a bug? not me gatekeeping the email β 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, copy it, remix it, just keep the receipts bestie π«Ά
β¨ 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 literally right there π¦
shishi 1.0.3 β that's the source and the version, mwah π thanks for reading my little shishi_authenticator_from_file(3) era, stay hydrated, read your man pages, and go allocate something beautiful πβ¨
π¦ 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