shishi_apreq_from_file(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_apreq_from_file β€” bestie edition πŸ’–

okay so this is a page from the shishi manual (section 3, the library-functions girlies), and we're talking about shishi_apreq_from_file. it's giving "read a whole AP-REQ straight off the disk" energy and honestly? iconic.


✨ NAME ✨

shishi_apreq_from_file β€” an API function πŸŽ€


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_apreq_from_file(Shishi * handle, Shishi_asn1 * apreq, int
       filetype, const char * filename);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, bestie, the one you got from shishi_init(). you literally cannot do anything without her.
  • Shishi_asn1 * apreq β€” an output variable, and she comes holding a newly allocated AP-REQ. fresh out the box. ✨
  • int filetype β€” input variable telling us the type of file we're reading from. wanna know the options? go look at Shishi_filetype, iykyk.
  • const char * filename β€” input variable with the filename you're reading from. the actual file. the source of truth. πŸ“

πŸ’… DESCRIPTION πŸ’…

Read an AP-REQ from a file in the specified TYPE. that's it, that's the whole vibe. you point her at a file, you tell her the type, she hands you back an AP-REQ. slay. πŸ”₯


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. any other value? not successful, bestie, go check your handle. 😭


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me manifesting that, but okay β€” report it 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 Β© 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. (fr fr, go wild, just keep the notice 🫢)


🌈 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. periodt. πŸ’…


and that's the whole page, no cap. it's from shishi version 1.0.3 β€” mwah, take care of her, she's doing her best. πŸ’–βœ¨πŸŽ€