shishi_ticket_realm_get(3)
π shishi_ticket_realm_get β the NAME section, bestie
okay so literally the whole vibe of this page is: shishi_ticket_realm_get β an API function π
it lives in the shishi manual, section 3 (that's the library-calls girlies, iykyk).
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_ticket_realm_get(Shishi * handle, Shishi_asn1 ticket, char **
realm, size_t * realmlen);
that's the whole thing. one function. she's small but she's mighty π
πΈ ARGUMENTS πΈ
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). like, the main character of the whole operation, no handle no service π«ΆShishi_asn1 ticketβ an input variable holding the ticket info. this is the ticket you're snooping the realm out of πchar ** realmβ an output array that gets filled with a newly allocated name of the realm in the ticket. note that word: newly allocated. somebody's gotta free that, and it's you, bestie πsize_t * realmlenβ the size of that output array. gotta know how long the thing is fr fr
π¦ DESCRIPTION π¦
Extract realm from ticket.
that's it. that's the description. she does one thing and she ate, periodt β¨
you hand her a ticket, she hands you back the realm. no drama, no extra steps, just pure realm-extraction energy π
π RETURN VALUE π
Returns SHISHI_OK iff successful.
iff</pη΄«θ²> β that's "if and only if", for the math girlies. so: if you get SHISHI_OK, it worked. if you get literally anything else, it did not, and you should probably look at that π¬
π REPORTING BUGS π
found a bug? first of all, not me being the one to find out π β but fr, 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/
go tell them, they wanna know, that's the whole point of the address π
π 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.
so like, yes you can copy it, yes you can change it, yes you can put it literally anywhere, no you don't gotta pay β you just have to keep the copyright notice and this notice. that's the deal, and it's a good deal, slay π«Ά
π 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, that's the mothership. this page is the little teaser trailer, the info manual is the whole three-hour director's cut. go there if you want the full lore πβ¨
quick reminder bestie: the realm output is freshly allocated memory, so don't just vibe past it β free it when you're done. no leaks in this house π
and that's the page!! shishi 1.0.3, page shishi_ticket_realm_get(3) β mwah, go forth and extract realms responsibly ππ¦πΈ
π¦ 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