shishi_tkt_renewable_p(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_tkt_renewable_p ✨

okay bestie, welcome to the shishi manual, section 3 πŸ’– this one's a lil function page and it's genuinely so chill β€” we're just checking a flag. let's go πŸ¦‹


🌸 NAME 🌸

shishi_tkt_renewable_p β€” literally an API function, that's it, that's the whole name πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_tkt_renewable_p(Shishi_tkt * tkt);

🧚 ARGUMENTS 🧚

  • Shishi_tkt * tkt β€” the input variable holding your ticket info, bestie 🎟️ this is the thing we're gonna vibe-check.

πŸ’« DESCRIPTION πŸ’«

So the whole point: this function determines if a ticket is renewable. That's the mission. That's the whole errand 🫢

Now for the tea β˜• β€” the RENEWABLE flag in a ticket is normally only interpreted by the ticket-granting service (and yeah, the original docs say that gets discussed below in section 3.3, so go peek there if you want the lore). It can usually be ignored by application servers β€” like, they don't have to care. HOWEVER. Some particularly careful application servers MAY disallow renewable tickets. not "will", not "should" β€” MAY. so if your server is that girl, she can straight up say no πŸ™ˆ keep that in mind.


πŸ”₯ RETURN VALUE πŸ”₯

Returns non-0 iff the renewable flag is set in the ticket. so like, nonzero = yes it's renewable, zero = nope πŸ“ classic C behavior, no cap.


😭 REPORTING BUGS 😭

Found a bug? Not me finding a bug πŸ™ˆ 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 of them honestly πŸ’œ)


🌈 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. that's your one-stop shop for the whole thing ✨


and that's the page, bestie!! πŸ’– this was shishi_tkt_renewable_p from shishi 1.0.3, section 3 of the manual β€” mwah, go check that RENEWABLE flag, ily, bye πŸŽ€πŸ¦‹πŸ’