shishi_kdc_copy_cname(3)
β¨ shishi_kdc_copy_cname β¨
okay bestie, welcome to shishi_kdc_copy_cname(3) β that's section 3 of the shishi manual, aka the C library corner of the GNU Shishi universe π this one's a lil API function and she is so cute once you get to know her, i promise.
πΈ NAME πΈ
shishi_kdc_copy_cname β literally just an API function, that's the whole name, no notes π
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_kdc_copy_cname(Shishi * handle, Shishi_asn1 kdcrep,
Shishi_asn1 encticketpart);
like yes she takes three args, keep reading, i'll walk u through it π
π ARGUMENTS π
Shishi * handleβ ur Shishi handle, the one u got fromshishi_init(). she's the main character here, everything runs through her β¨Shishi_asn1 kdcrepβ a KDC-REP, and this is the one where the"cname"field gets updated. she's receiving the glow-up π«Shishi_asn1 encticketpartβ an EncTicketPart that's providing the"cname"field. she's the source of truth, the donor, the giver π«Ά
π DESCRIPTION π
okay so here's the tea: this function reads the field "cname" from the ticket encticketpart, and then copies that value into the reply kdcrep. that's it. that's the whole job. no cap. she's a copy-paste girly and she's thriving π
β RETURN VALUE β
Returns SHISHI_OK if everything went slay, and ASN.1 failures otherwise. so likeβ¦ check the return value bestie, don't just vibe and hope π
π REPORTING BUGS π
found a bug? not me gatekeeping the email β 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. (iconic 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. iykyk π§
fr fr tho β every flag, every field name, every return code up there is exact. don't go renaming "cname" to something cuter, ASN.1 will NOT forgive u π
that's the whole page bestie, hope it ate π β¨
this was shishi_kdc_copy_cname(3) from shishi version 1.0.3 β mwah, go forth and copy those cnames ππ¦
π¦ 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