shishi_apreq_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_apreq_get_ticket β€” the manual page, but make it cute πŸ’–

okay so bestie, you're in the shishi manual (that's the GNU Shishi Kerberos-ish library, section 3, the library-functions girlies) and today's main character is shishi_apreq_get_ticket. it does exactly one thing and it does it flawlessly. no notes. πŸ’…


✨ NAME ✨

shishi_apreq_get_ticket β€” an API function, and yes that's literally its whole job description πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_apreq_get_ticket(Shishi * handle, Shishi_asn1 apreq,
       Shishi_asn1 * ticket);

like. look at her. three params, one int, zero drama. iconic. ✨


🌸 ARGUMENTS 🌸

  • Shishi * handle β€” your shishi handle, bestie, the one you got from shishi_init(). you did call shishi_init() first, right? right? πŸ™ˆ
  • Shishi_asn1 apreq β€” the AP-REQ variable we're yanking the ticket out of. she's the source. the origin story. πŸ’œ
  • Shishi_asn1 * ticket β€” the output variable that will hold the extracted ticket. she's empty right now but trust, she's about to be so full. 🫢

πŸ’« DESCRIPTION πŸ’«

Extract ticket from AP-REQ.

that's it. that's the whole vibe. you hand her an AP-REQ, she hands you back the ticket hiding inside it. the way that this function just does the thing with no preamble?? obsessed. πŸ”₯


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful.

and by "iff" we mean if and only if, fr fr β€” anything else and something went sideways, so go check that return value, bestie, don't just ignore her 😭


πŸ› REPORTING BUGS πŸ›

found a bug? not me gatekeeping β€” go tell the devs! report bugs to <bug-shishi@gnu.org>. πŸ’Œ

they want to hear from you, no cap.


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.

so yes, you can copy her, share her, remix her β€” just keep the receipts (the copyright notice + this notice) attached. periodt. πŸ’…


🌈 SEE ALSO 🌈

the full documentation for shishi is maintained as a Texinfo manual (yes, Texinfo, she's vintage and she ATE). if the info and shishi programs are properly installed at your site, this command:

info shishi

should give you access to the complete manual. iykyk. πŸ“–βœ¨


and that's the whole page, bestie β€” written by the shishi girlies, version 1.0.3, dated back in the shishi_apreq_get_ticket(3) era. mwah. take care of your tickets. πŸ’–πŸŽ€πŸ¦‹