shishi_tgs_req_der(3)
π shishi_tgs_req_der(3) β the shishi manual, bestie edition π
okay so real talk, this one lives in the shishi manual, section 3 (that's the "library functions, she's a coder" section, iykyk β¨). It's an API function, and honestly? She's giving "quiet overachiever who just does one thing perfectly." Obsessed. π«Ά
πΈ NAME πΈ
shishi_tgs_req_der β yes babe, that's the whole name, she's an API function and she knows it π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_tgs_req_der(Shishi_tgs * tgs, char ** out, size_t * outlen);
look at her. three little params. no drama. π
π ARGUMENTS π
Shishi_tgs * tgsβ the structure that holds all the info about the TGS exchange. she's the main character of this story, fr fr.char ** outβ the output array, freshly allocated, holding the DER encoding of TGS-REQ. brand new, never used, she's got that new-array smell π¦size_t * outlenβ the length of that output array with the DER encoding of TGS-REQ. because bestie, you gotta know how big she is before you go poking around π
π DESCRIPTION π
okay so the whole vibe here is: DER encode TGS-REQ. that's it, that's the job, she ate and left no crumbs π₯
out is allocated by this function β like, she made it, she's responsible for bringing it into this world. And it is the responsibility of the caller to deallocate it. so like. you made the mess, you clean it up, no cap. π§Ήπ
π¨ bestie listen: she hands you memory. She does NOT take it back. If you forget to free out, that's a leak and it's on you, not her. periodt.
β RETURN VALUE β
Returns SHISHI_OK iff successful. that "iff" is doing so much heavy lifting, it means if-and-only-if, so like, anything that isn't SHISHI_OK means girlie did NOT succeed, and you should probably check on that π
π REPORTING BUGS π
found a bug? not me gaslighting you into thinking it's a feature β go tell the actual maintainers:
- 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're nice, they wanna hear from you, slay π
π 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, share the file, just keep the receipts β¨π«Ά)
π 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, if it's installed properly. if it's not, that's a you-and-your-install problem, bestie π
shishi 1.0.3 shishi_tgs_req_der(3) β that's the version, that's the page, that's the whole thing. mwah π go free your out array and be iconic. π
πΈπ
π¦ 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