shishi_tgs_rep_der(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_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>.


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 πŸ’…βœ¨