shishi_tgs_rep_der(3)
β¨ shishi_tgs_rep_der β¨
okay bestie, buckle up π this one lives in the shishi manual, section 3, and it's literally the lil function that turns a TGS-REP into bytes. yes, that TGS-REP. the ticket-granting one. iykyk π
πΈ NAME πΈ
shishi_tgs_rep_der β it's an API function, babe. that's the whole vibe.
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_tgs_rep_der(Shishi_tgs * tgs, char ** out, size_t * outlen);
π ARGUMENTS π
Shishi_tgs * tgsβ the structure holding all the info about the TGS exchange. she's the main character, she knows everything about what's going down πchar ** outβ your output array, and it's gonna get filled with a newly allocated DER encoding of TGS-REP. brand new, fresh out the box β¨size_t * outlenβ the length of that output array holding the DER encoding of TGS-REP. so you know exactly how much of it is real π
π DESCRIPTION π
so basically: DER encode TGS-REP. that's the job, that's the assignment, she ate π
and here's the tea bestie β out is allocated by this function. not by you, not by your friend, by her. which means it is the responsibility of the caller to deallocate it. that's you. you're the caller. don't forget, or that memory just sits there forever like an unread group chat π
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the good ending, the one we want π
π«Ά REPORTING BUGS π«Ά
found a bug? no gatekeeping, tell the people. 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/
π 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.
π 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. go get your reading on π
ok that's the whole page, no notes. every flag, every arg, every word β all preserved, just with better energy π
signing off from the shishi manual, version 1.0.3, section 3 β this was shishi_tgs_rep_der(3), and honestly? iconic. 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