shishi_encapreppart_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_encapreppart_parse(3) πŸ’–

okay bestie, so this is a page from the shishi manual β€” section 3, the library functions section, iykyk β€” and it's all about one very specific little function. let's get into it 🫢


✨ NAME ✨

shishi_encapreppart_parse β€” it's an API function, that's literally the whole name-vibe. no notes. πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_encapreppart_parse(Shishi * handle, FILE * fh, Shishi_asn1 *
       encapreppart);

like yes she's a mouthful but she's doing her best πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, and you gotta get it from shishi_init(). that's the vibe, that's the origin story, no substitutes bestie πŸ’œ
  • FILE * fh β€” a file handle, and it has to be open for reading. reading only. don't be weird about it πŸ™ˆ
  • Shishi_asn1 * encapreppart β€” an output variable that receives a newly allocated EncAPRepPart. it's giving "i made you something and you're gonna hold it" 🎁

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically? she reads ASCII armored DER encoded EncAPRepPart from a file, and then populates the variable you gave her with it. that's it. that's the whole job. main character energy, minimal effort, iconic behavior ⭐


πŸ”₯ RETURN VALUE πŸ”₯

Returns SHISHI_OK iff successful. that's the one and only success code, and if you see anything else... it was not successful, bestie 😭


😀 REPORTING BUGS 😀

found a bug? not me gatekeeping that info β€” report it to <bug-shishi@gnu.org> fr fr πŸ“§


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, just 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. go read it, it's the whole lore 🧚


and that's the tea, bestie β€” this was page shishi_encapreppart_parse(3) from shishi version 1.0.3, brought to you by the shishi manual. slay, stay parsed, and hydrate πŸ’…βœ¨