shishi_krberror_set_cname(3)
β¨ shishi_krberror_set_cname β a lil function from the shishi manual, section 3 π
okay bestie, sit down, hydrate, and let's talk about the most lowkey iconic little setter in the whole Shishi library π
πΈ NAME πΈ
shishi_krberror_set_cname β it's an API function, babes. that's the whole job title. π
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_krberror_set_cname(Shishi * handle, Shishi_asn1 krberror,
Shishi_name_type name_type, const char * cname[]);
likeβ¦ look at her. four whole arguments. main character energy fr fr β¨
π ARGUMENTS π
Shishi * handleβ the shishi handle, and no you cannot just make one up, it has to be allocated byshishi_init(). periodt.Shishi_asn1 krberrorβ the krberror, which you get fromshishi_krberror(). no shortcuts, bestie, that's where she comes from π«ΆShishi_name_type name_typeβ the type of principal (yes, the principal's type). go checkShishi_name_typeif you wanna see the options, but usually it's justSHISHI_NT_UNKNOWN. that's the default vibe, iykyk.const char * cname[]β an input array holding the principal name. an array, plural energy, not one sad little string. π
π DESCRIPTION π
so what does she actually do? she sets the principal field inside krberror to the value you specified. that's it. that's the function. no cap. set it and go. π₯
β RETURN VALUE β
returns SHISHI_OK iff it was successful. if you get SHISHI_OK back, she ate, and you can go about your day π
π REPORTING BUGS π
found a bug? not you being the detective π΅οΈββοΈ 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.
(translation: share her, remix her, just keep the receipts π§Ύβ¨)
π SEE ALSO π
the full documentation for shishi lives in a Texinfo manual. if the info and shishi programs are properly installed at your site, then running:
info shishi
should give you access to the complete manual. go read it, bestie, it's giving lore π
mwah π that was shishi_krberror_set_cname(3), from the shishi manual, version 1.0.3. stay slay, stay compiled, and remember: set your cname, then log off π¦β¨
π¦ 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