shishi_kdc_copy_cname(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 from shishi_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> πŸ›


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 πŸŽ€πŸ¦‹