shishi_kdcrep_get_ticket(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_kdcrep_get_ticket ✨

okay bestie, gather round, because this one is a section 3 library function from the shishi fam πŸ’– (that's the 3 in shishi_kdcrep_get_ticket(3), iykyk) β€” and no cap, it's a little one, but it's a useful little one.


🌸 NAME 🌸

shishi_kdcrep_get_ticket β€” literally just an API function, that's the whole job description πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_kdcrep_get_ticket(Shishi * handle, Shishi_asn1 kdcrep,
       Shishi_asn1 * ticket);

yes bestie, that's the whole signature, copy it exactly, do not freestyle πŸ’…


πŸ’œ ARGUMENTS πŸ’œ

  • Shishi * handle β€” your shishi handle, and it's gotta be the one you got from shishi_init(). no random handles, we don't do that here 🫢
  • Shishi_asn1 kdcrep β€” the KDC-REP variable you're pulling the ticket out of. this is the source, the origin story, the main character πŸ“¦
  • Shishi_asn1 * ticket β€” output variable that's gonna hold the extracted ticket. it's a pointer, so it writes back to you. she's giving output-parameter energy ✨

🌈 DESCRIPTION 🌈

Extract the ticket from the KDC-REP. that's it. that's the function. she does one thing and she does it well, and honestly? iconic πŸ‘‘


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. and bestie, when I say iff I mean it β€” that's the success condition, periodt πŸ’―


πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't just scream into the group chat, actually 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.

(that's the legal bit, and yes, you do have to keep it, no skipping the fine print bestie πŸ™ˆ)


πŸŽ€ 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 giving ✨ comprehensive ✨


and that's the whole page, bestie!! this was pulled from shishi version 1.0.3 β€” mwah, love that for us πŸ’–πŸ¦‹πŸŒΈ stay hydrated, read your manpages, and remember: SHISHI_OK is the only energy we accept around here 🫢✨