shishi_krberror_set_sname(3)
π shishi_krberror_set_sname β bestie edition π
okay so this is shishi_krberror_set_sname(3), a page from the shishi manual (that's section 3, the library-functions section, iykyk). buckle up, it's short and sweet and we're gonna slay it.
β¨ NAME β¨
shishi_krberror_set_sname β it's an API function, bestie. that's the whole name. no notes. π
πΈ SYNOPSIS πΈ
so first you gotta pull in the header, like:
#include <shishi.h>
and then the function itself looks like this:
int shishi_krberror_set_sname(Shishi * handle, Shishi_asn1 krberror,
Shishi_name_type name_type, const char * sname[]);
it returns an int, it takes four things, and it's giving very specific. periodt.
π ARGUMENTS π
here's the rundown of everything you're handing over, no cap:
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). like, you can't do anything without it, she's the main character. πShishi_asn1 krberrorβ the krberror thing, as allocated byshishi_krberror(). that's the one we're editing, okay? π¦Shishi_name_type name_typeβ the type of principial (yes, that's how the original spells it, we're keeping it fr fr), seeShishi_name_type, and usually it'sSHISHI_NT_UNKNOWN. that's the default vibe. β¨const char * sname[]β an input array with the principal name. yes, an array, not a single string. she's plural, she contains multitudes. π
π DESCRIPTION π
Set principal field in krberror to specified value. that's it. that's the whole job. you give her the name, she sets the principal field, we move on with our lives. iconic behavior honestly.
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the good one, that's the one you want. if you see anything else, something went sideways and we're gonna have a conversation. π
π REPORTING BUGS π
found a bug? not me, but okay β report bugs to <bug-shishi@gnu.org>. like, actually email them, they wanna know.
- 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. so like, go off, redistribute her, 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. that's your one-stop shop, bestie, go read the whole thing, it's lowkey fascinating.
and that's the whole page!! this was shishi_krberror_set_sname(3) from shishi version 1.0.3 β thanks for reading, ily, go set some principal fields responsibly πβ¨ππ¦πΈ
π¦ 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