shishi_priv_key(3)
β¨ shishi_priv_key(3) β¨
okay bestie, welcome to the shishi manual, section 3 (that's the library-functions girlies π
). today's main character is shishi_priv_key, and she is so much simpler than she sounds, i promise π«Ά
πΈ NAME πΈ
shishi_priv_key β an API function, bestie. that's the whole vibe.
π SYNOPSIS π
#include <shishi.h>
Shishi_key * shishi_priv_key(Shishi_priv * priv);
like. one include, one function, one little pointer going in, one little pointer coming out. slay β¨
π¦ ARGUMENTS π¦
Shishi_priv * privβ the structure that holds all the info about the PRIV exchange π she's the container, she's holding the receipts.
π DESCRIPTION π
Get the key from the PRIV exchange. that's it. that's the whole plot. she reaches into the PRIV exchange and hands you the key π
no cap, sometimes the simplest functions are the ones you end up calling at 2am. iykyk.
π RETURN VALUE π
Returns the key used in the PRIV exchange. π«
BUT β and listen closely bestie, this part matters β she returns NULL if it's not yet set, or if an error occured π so please, please, check your return value before you go dereferencing her. the way that NULL will humble you fr fr.
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the devs:
- 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/
they literally want to hear from you, no gatekeeping here π«Ά
π§ 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. π (yes bestie, she's free, she's open, she's generous, we love that for her.)
π 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 giving lore πβ¨
π also quick vibe check: the whole PRIV exchange thing is very "trust the process" energy. get the key, check for NULL, move on. periodt. π
that's the whole page bestie, you ate that π this was brought to you by shishi 1.0.3 β thanks for reading, mwah ππ¦
π¦ 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms