shishi_encprivpart_set_user_data(3)
β¨ NAME β¨
shishi_encprivpart_set_user_data β it's the lil API function that tucks your app data into a PRIV π (this is page 3 of the shishi manual, bestie, section 3 energy only)
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_encprivpart_set_user_data(Shishi * handle, Shishi_asn1
encprivpart, const char * userdata, size_t userdatalen);
okay so you're gonna #include <shishi.h> first, obviously, and then you call the whole thing. four args. she's not complicated, she's just specific π
π¦ ARGUMENTS π¦
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character, everything runs through her πShishi_asn1 encprivpartβ theencprivpartyou got fromshishi_priv(). this is the container we're filling up, no capconst char * userdataβ the input user application that you wanna store in PRIV. yes, "application" here means application data, not an app store situation πsize_t userdatalenβ the size of that input user application you're storing in PRIV. gotta tell her how much there is, she can't read minds π
π DESCRIPTION π
Set the application data in PRIV.
that's literally it. that's the whole vibe. you hand her the data, she puts it in PRIV, everyone moves on with their lives π
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the only good outcome, periodt. anything else and something went sideways π
π«Ά REPORTING BUGS π«Ά
found a bug? not me gatekeeping that. 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 π
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. iconic of them honestly. free to copy, 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. iykyk β that's where the deep lore lives π
that's the whole page bestie, stay hydrated and may your return values always be SHISHI_OK π
β¨
this was shishi version 1.0.3 β page shishi_encprivpart_set_user_data(3) β from the shishi manual, 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
- 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