shishi_tkts_new(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_tkts_new(3) β€” the shishi manual, bestie edition πŸ’–

okay so real talk, this is a page from the shishi manual, and today we're learning shishi_tkts_new. it's giving "tiny function, huge responsibility" energy and honestly? obsessed. πŸŽ€


✨ NAME ✨

shishi_tkts_new β€” API function πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_tkts_new(Shishi_tkts * tkts, Shishi_asn1 ticket, Shishi_asn1
enckdcreppart, Shishi_asn1 kdcrep);

🌸 ARGUMENTS 🌸

  • Shishi_tkts * tkts β€” the ticket set handle, bestie. you get one of these from shishi_tkts(), so like, allocate that first or this whole thing is a no. πŸ™ˆ
  • Shishi_asn1 ticket β€” your input ticket variable, the actual ticket itself. 🎟️
  • Shishi_asn1 enckdcreppart β€” input ticket detail variable, aka the ~lore~ behind the ticket. πŸ“œ
  • Shishi_asn1 kdcrep β€” input KDC-REP variable. periodt. πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so what it does is: allocate a brand new ticket and add it to the ticket set. main character behavior, honestly. ✨

⚠️ lowkey important, do NOT skip this part: ticket, enckdcreppart and kdcrep are stored by reference. that means you must not de-allocate them before the ticket is removed from the ticket set and de-allocated. like, if you free them early you're gonna have a bad time and the vibes will be rancid. πŸ’€

🌈 RETURN VALUE 🌈

Returns SHISHI_OK iff successful. slay. 🫢

πŸ› REPORTING BUGS πŸ›

found a bug? not cute, but please tell someone! report bugs 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, generous, no notes. πŸ’–)

πŸ”₯ 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 vibe. πŸ“šβœ¨


and that's the page, bestie!! πŸŽ€ this was shishi version 1.0.3, page shishi_tkts_new(3), brought to you with love and absolutely zero skips. go forth and allocate responsibly. mwah. πŸ’…πŸ’–πŸ¦‹