shishi_principal_name_set(3)
π shishi_principal_name_set(3) π
okay bestie, so this one lives in the shishi manual β section 3, the library-call girlies β and it's literally called shishi_principal_name_set. yes it's a mouthful. no you don't have to say it out loud. let's go β¨
πΈ NAME πΈ
shishi_principal_name_set β API function, babes. that's it, that's the name.
π SYNOPSIS π
#include <shishi.h>
int shishi_principal_name_set(Shishi * handle, Shishi_asn1 namenode,
const char * namefield, Shishi_name_type name_type, const char *
name[]);
look at her. five arguments. absolute main character energy. π
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, and you gotta get it the legit way, as allocated byshishi_init(). no shortcuts, no homemade ones. πShishi_asn1 namenodeβ an ASN.1 structure that's holding a principal insidenamefield. so basically the container that has the name in it.const char * namefieldβ the name of the field insidenamenodewhere the principal name is chillin'. yes, a field name. meta, i know. πShishi_name_type name_typeβ the type of principal. go look atShishi_name_typefor the full menu, but usually it'sSHISHI_NT_UNKNOWN. that's the default vibe fr fr.const char * name[]β a null-terminated input array holding the principal name. null-terminated, bestie, don't forget the terminator or she'll keep reading forever. π
β¨ DESCRIPTION β¨
Set the given principal name field to the given name. that's the whole gig. you hand her the field, you hand her the name, she sets it. lowkey iconic how simple that is. π«Ά
π RETURN VALUE π
Returns SHISHI_OK if successful. that's the good ending. π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the girlies:
- 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/
ngl if something's broken they genuinely wanna know. email them. it's giving responsible. π
π 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: use it, share it, remix it, just keep the receipts. no cap. π)
π 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 the whole lore. π
and that's the page!! this was shishi 1.0.3 of the shishi manual, mwah π stay hydrated, terminate your arrays, and slay β¨π¦π
π¦ 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