shishi_tkt_clientrealm_p(3)
π shishi_tkt_clientrealm_p β the manual page, bestie edition π
okay so this is a page from the shishi manual β you know, the GNU Kerberos-ish library β and today's main character is a lil function called shishi_tkt_clientrealm_p. that trailing _p? it's giving "predicate". it asks a yes/no question and it does NOT elaborate. let's get into it π¦
β¨ NAME β¨
shishi_tkt_clientrealm_p β an API function, bestie. that's the whole name section, she's lowkey mysterious π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_tkt_clientrealm_p(Shishi_tkt * tkt, const char * client);
there she is. include the header, call the function, no cap πΈ
β¨ ARGUMENTS β¨
Shishi_tkt * tktβ input variable with ticket info. yeah it's literally just the ticket you're interrogating πconst char * clientβ principal name (client name and realm) of ticket. so like, the full name β who they are AND where they're from, both parts, don't skip the realm or it's not the vibe π
β¨ DESCRIPTION β¨
Determine if ticket is for specified client principal.
that's it. that's the whole thing. you hand her a ticket and a client principal, she checks if the ticket belongs to that principal. match made in heaven or not, she'll let you know β¨
β¨ RETURN VALUE β¨
Returns non-0 iff ticket is for specified client principal.
so: nonzero = yass it's them π₯. zero = nope, not your ticket, not your girl π. and note the iff β that's "if and only if", meaning both directions, she's precise like that π
β¨ REPORTING BUGS β¨
found a bug? don't be shy, tell the devs:
- Report bugs to
<bug-shishi@gnu.org>. π§ - GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
they wanna hear from you fr fr π«Ά
β¨ COPYRIGHT β¨
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.
translation: go off, copy it, remix it, ship it β just keep the copyright notice and this notice with it, and we're golden β
β¨ 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.
like, the whole entire manual. this page is just one lil crumb, the Texinfo one is the full cake π
and that's a wrap, bestie π this page came to you from shishi version 1.0.3 β go check your tickets, stay iconic, and remember: nonzero means it's them, zero means it's not. periodt. πβ¨π¦
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms