shishi_krberror_ctime(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_krberror_ctime ✨

okay bestie, gather round, because we're talking about shishi_krberror_ctime from the shishi manual, section 3 πŸŽ€ this one is a lil API function and she is so specific about what she does. no cap.


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_krberror_ctime(Shishi * handle, Shishi_asn1 krberror, char **
t);

like, that's the whole vibe. three args, one int back. iconic.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and it's gotta be the one you got from shishi_init(). no knockoff handles, bestie πŸ’…
  • Shishi_asn1 krberror β€” the Krberror you're working with. literally the field description says "Krberror to set client name field in" so that's what the manpage says and that's what I'm telling you, periodt.
  • char ** t β€” a newly allocated zero-terminated output array holding the client time. newly. allocated. you own that memory now, she's yours 🫢

πŸ’– DESCRIPTION πŸ’–

Extract client time from KRB-ERROR.

that's it. that's the whole thing. she extracts, she gives you the client time, she moves on. lowkey the most straightforward girl in the whole library 🌈


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. the "iff" is doing heavy lifting there β€” if it's not SHISHI_OK, it wasn't successful, and you should probably go touch grass and check your error handling πŸ™ˆ


πŸŽ€ REPORTING BUGS πŸŽ€

found a bug? do NOT suffer in silence, tell the shishi girlies:


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: share it, remix it, 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. iykyk, go read the full thing, she's got lore πŸ“šβœ¨


and that's the page, bestie!! this is from shishi version 1.0.3, and it's the shishi_krberror_ctime(3) manual page πŸ¦‹ mwah, go extract some client times, you absolute main character πŸ’…πŸ’–