shishi_tkts_get_for_clientserver(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_get_for_clientserver πŸ’–

okay bestie, so this one lives in the shishi manual, section 3 β€” that's the library-functions girlies β€” and honestly? it's giving shortcut. it's giving convenience. let's get into it πŸŽ€


✨ SYNOPSIS ✨

#include <shishi.h>

Shishi_tkt * shishi_tkts_get_for_clientserver(Shishi_tkts * tkts, const char * client, const char * server);

like. look at that. two little strings and a ticket set. we love a low-effort queen πŸ’…


🌸 ARGUMENTS 🌸

  • Shishi_tkts * tkts β€” your ticket set handle, the one you already got from shishi_tkts(). yes, that one. don't just make one up, allocate it properly first 🫢
  • const char * client β€” the client name you want a ticket for. that's the who.
  • const char * server β€” the server name you want a ticket for. that's the where-to.

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, this is the short-hand function for getting a ticket for the given client and server. that's it. that's the whole vibe. it's the "i don't have time to spell it all out" version of the thing.

if you wanna know what's actually happening under the hood, go read shishi_tkts_get() β€” that's the main character, this one is just her little sister ✨


πŸ‘‘ RETURN VALUE πŸ‘‘

you get a ticket back if it's found. if it's not found? you get NULL. no drama, no exceptions, just NULL. check for it, bestie, fr fr 😭


πŸ’€ REPORTING BUGS πŸ’€

found something broken? not the vibe, but okay, 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 behaviour tbh, we stan a permissive license 🌈


πŸ”₯ SEE ALSO πŸ”₯

the full documentation for shishi is maintained as a Texinfo manual. so if the info and shishi programs are properly installed at your site, this command:

info shishi

should give you access to the complete manual. go read it, it's long but it ate πŸ’…


and that's the whole page, bestie β€” no cap. this was shishi_tkts_get_for_clientserver(3) from shishi 1.0.3, and the original footer even stamped its own name right there in the corner like a signature. slay πŸ¦‹βœ¨πŸ’–