shishi_tgs_sendrecv(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_tgs_sendrecv(3) πŸ’–

okay bestie, welcome to the shishi manual, section 3 β€” yes, the library-function section, we're doing Real C Things today 🫢 this one is shishi_tgs_sendrecv, and it's lowkey the workhorse of the whole ticket-getting situation. sit down, hydrate, let's go ✨


🌸 NAME 🌸

shishi_tgs_sendrecv β€” it's an API function, babes. that's the whole vibe. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_tgs_sendrecv(Shishi_tgs * tgs);

one include, one function call, one Shishi_tgs *. it's giving minimalism. it's giving slay. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi_tgs * tgs β€” this is the struct that's holding all the info about the TGS exchange. like, everything the function needs to know about this particular ticket-granting moment lives in here. she's the main character, we're just supporting her. 🌟

✨ DESCRIPTION ✨

so what does it do? it sends a TGS-REQ and then receives back either a TGS-REP or a KRB-ERROR. no cap, that's it, that's the function. 🎯

it's the subsequent authentication step β€” i.e. not the first dance, the one after β€” and you usually use it to go acquire server tickets. so like, you already did the initial thing, and now you're here getting yourself a ticket for an actual server. it's the glow-up phase of the auth flow. πŸ”₯


⭐ RETURN VALUE ⭐

returns SHISHI_OK iff it was successful. (that "iff" is math-girl "if and only if", she's precise, we love her.) anything that isn't SHISHI_OK? that's a you-problem, go check it. 😭


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't just scream into the group chat, actually report it, bestie:

they wanna hear from you fr fr 🫢


Copyright Β© 2002-2022 Simon Josefsson.

and the licensing tea: copying and distribution of this file, with or without modification, are permitted in any medium without royalty, provided that the copyright notice and this notice are preserved. so like, go off, just keep the receipts. πŸ’…


🌈 SEE ALSO 🌈

the full documentation for shishi lives in a Texinfo manual β€” yes, a whole manual, she's thorough. if info and the shishi programs are properly installed on your system, then this command:

info shishi

should give you access to the complete manual. that's the plug, that's where the lore is. πŸ“–βœ¨


and that's a wrap on shishi_tgs_sendrecv(3)! this page is from shishi 1.0.3, and it's the shishi_tgs_sendrecv(3) page in the shishi manual β€” so go forth, send that TGS-REQ, receive that TGS-REP, and stay iconic. mwah. πŸ’–πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά