shishi_safe_user_data(3)
π shishi_safe_user_data β the glow-up edition π
okay bestie, so this is a page from the shishi manual, section 3 (that's the library-functions girlies, iykyk). It's called shishi_safe_user_data and it's literally here to pull the user data out of a KRB-SAFE. No cap. β¨
πΈ NAME πΈ
shishi_safe_user_data β it's an API function, babes. That's the whole vibe. π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_safe_user_data(Shishi * handle, Shishi_asn1 safe, char **
userdata, size_t * userdatalen);
yes, the line break in the middle of the declaration is real, we don't make the rules π
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). She's the main character, everything runs through her π«ΆShishi_asn1 safeβ the safe, allocated byshishi_safe(). This is the little KRB-SAFE container we're snooping in π§char ** userdataβ output array, and it gets a newly allocated user data from the KRB-SAFE dropped into it. Fresh out the oven, no cap πsize_t * userdatalenβ output size of the output user data buffer. Basically "how big is the thing we just handed you" π
π¦ DESCRIPTION π¦
So what she does: she reads the user data value out of the KRB-SAFE. Simple, iconic, no notes. π
lowkey important though β userdata is allocated by this function, which means it is the responsibility of the caller to deallocate it. Not me, not shishi, not the vibes. You. Free it or it's a leak bestie π
π RETURN VALUE π
Returns SHISHI_OK iff successful. Like, if it worked. If it didn't... it won't be SHISHI_OK. That's the whole system π
π REPORTING BUGS π
Found a bug? Don't suffer in silence, tell the people:
- 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 want to hear from you fr fr π«Ά
π 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. slay, very generous of them honestly π
β 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 β¨
mwah π that's the whole page. this was shishi version 1.0.3, and the page itself is shishi_safe_user_data(3) β take care of your userdata and she'll take care of you. bye bestie, drink water πΈ
π¦ 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