shishi_priv_enc_part_etype(3)
π shishi_priv_enc_part_etype β bestie's guide to the shishi manual, section 3 π
okay so. this is shishi_priv_enc_part_etype(3), a page from the shishi manual (section 3, the library-call girlies β¨), and it's literally just one lil API function. but she's important. let's get into it π«Ά
β¨ NAME β¨
shishi_priv_enc_part_etype β API function. that's the whole name bestie, no notes π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_priv_enc_part_etype(Shishi * handle, Shishi_asn1 priv,
int32_t * etype);
look at her. three args, one int coming back at ya. iconic behavior fr fr π
π ARGUMENTS π
Shishi * handleβ the shishi handle, and you get it the normal way, as allocated byshishi_init(). no handle, no vibes, no function πShishi_asn1 privβ the PRIV variable we're pulling the value out of. she's the source, the main character, the one holding the tea πint32_t * etypeβ an output variable that holds the value. it's a pointer, so she writes back into your littleint32_tand you get the result. lowkey obsessed with out-params π
π¦ DESCRIPTION π¦
Extract PRIV.enc-part.etype.
that's it. that's the whole thing. she extracts the etype field from the enc-part of the PRIV structure. a tiny little getter doing tiny little getter things and honestly? we love her for it β¨
β RETURN VALUE β
Returns SHISHI_OK iff successful.
so: if everything goes right, you get SHISHI_OK. if not... not that. check your return values bestie, the way that error codes will humble you π
π REPORTING BUGS π
found a bug? do not suffer in silence, 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/
they wanna hear from you, fr fr. bug reports are a love language π«Ά
π 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.
like... slay, that's a genuinely generous license. no royalty, just keep the notice. periodt π
π 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 β¨expanded loreβ¨ iykyk π
ngl if you skipped straight to the bottom, go back up, there were literally only like six things and they all mattered π
mwah β that's the whole page. go forth and extract your etypes responsibly, bestie πΈπ¦π
this lil beauty ships with shishi version 1.0.3, page shishi_priv_enc_part_etype(3), and she's been living rent-free in the shishi manual since forever. bye babes π
π¦ 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