shishi_priv_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_priv_from_file πŸ’–

okay bestie, welcome to the shishi manual, page shishi_priv_from_file(3). yes we're doing C library lore today, and yes it's gonna be cute AND correct. grab a strawberry πŸ“ and let's go.


✨ NAME ✨

shishi_priv_from_file β€” it's an API function, periodt. that's literally the whole name section. iconic of it.


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_priv_from_file(Shishi * handle, Shishi_asn1 * priv, int
       filetype, const char * filename);

look at that signature. four arguments. she's booked and busy πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). like, you can't do anything without her. main character energy fr.
  • Shishi_asn1 * priv β€” an output variable that ends up holding a freshly allocated PRIV. she's new here, treat her nice 🫢
  • int filetype β€” an input variable saying what type of file we're reading. which types, you ask? check Shishi_filetype, bestie, that's where the list lives πŸ‘‘
  • const char * filename β€” the input filename you wanna read from. the actual file. the source of truth. no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

Read PRIV from file in specified TYPE.

that's the whole vibe. it reads. it's from a file. the file is of the specified type. slay ✨


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. so if you get SHISHI_OK back, you ate. anything else? not so much 😭


🌈 REPORTING BUGS 🌈

found a bug? don't be shy, tell the people. 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.

(yes, you may copy it, yes it's free, no you don't owe anyone money. that's the whole deal, and it's lowkey generous πŸ’œ)


πŸ’« 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. iykyk πŸ“–βœ¨


and that's the page!! shishi 1.0.3, this page is shishi_priv_from_file(3), and honestly? she understood the assignment. mwah πŸ’…πŸŽ€πŸ¦‹ bye bestie!