shishi_principal_set(3)
β¨ shishi_principal_set β¨
okay bestie, welcome to the shishi_principal_set(3) page from the shishi manual π yes it's a C API function, yes it's giving library-girl realness, and yes you're gonna understand it in like thirty seconds. sit with me. π«Ά
πΈ NAME πΈ
shishi_principal_set β API function β¨ (that's it, that's the whole name, she's mysterious like that π
)
π SYNOPSIS π
#include <shishi.h>
int shishi_principal_set(Shishi * handle, Shishi_asn1 namenode, const
char * namefield, const char * name);
so you pull in <shishi.h> and then you can call her. four args, one int coming back. no cap. π¦
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the whole vibe, everything runs through her. πShishi_asn1 namenodeβ an ASN.1 structure that has a principal chillin' insidenamefield. πconst char * namefieldβ the actual name of the field insidenamenodewhere the principal name lives. like, which pocket is she in. πconst char * nameβ a null-terminated string holding the principal name in RFC 1964 form. lowercase-and-proud, that's the format. β¨
π¦ DESCRIPTION π¦
So basically: you take that principal name field inside your ASN.1 structure, and you set it to the name you passed in. that's the whole job. she's a setter, she sets, she slays, she goes home. π
β RETURN VALUE β
Returns SHISHI_OK if successful. π (and if you see SHISHI_OK you know you ate, periodt.)
π REPORTING BUGS π
found something cursed? do not suffer in silence bestie. 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/
π 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.
π§ 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, go read the whole thing, it's a whole saga. π
sign-off time π this lil page is from shishi, version 1.0.3, and she lives in section 3 of the manual (shishi_principal_set(3)). take care of her, she's iconic. 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