shishi_encapreppart_cusec_get(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_encapreppart_cusec_get ✨

okay bestie, so this is a page from the shishi manual β€” that's the GNU Shishi Kerberos library, and this particular little function is an API function called shishi_encapreppart_cusec_get. yes the name is a whole mouthful, we're getting through it together πŸ’–


🌸 NAME 🌸

shishi_encapreppart_cusec_get β€” it's an API function, no cap, that's literally its whole job title


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_encapreppart_cusec_get(Shishi * handle, Shishi_asn1
encapreppart, uint32_t * cusec);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and listen, it has to be one you already got from shishi_init(). don't just vibe-craft a handle out of thin air, bestie πŸ™ˆ
  • Shishi_asn1 encapreppart β€” an EncAPRepPart structure, and it needs to be the one you got from shishi_encapreppart(). yes, the function that made it, that's the one 🫢
  • uint32_t * cusec β€” this one's an output integer, and it's gonna hold the client microseconds field. it's giving "i'm the destination, write into me" energy ✨

πŸ’… DESCRIPTION πŸ’…

so what does this icon actually do? it extracts the client microseconds field from EncAPRepPart. that's it. that's the whole thing. pull the cusec out of the EncAPRepPart and hand it to you through that pointer. short, sweet, slays πŸ’–


πŸ‘‘ RETURN VALUE πŸ‘‘

returns SHISHI_OK iff it worked. and yes, "iff" means if-and-only-if, so like… SHISHI_OK means success, anything else means something went sideways, periodt πŸ’€


😭 REPORTING BUGS 😭

found a bug? don't suffer in silence, tell the devs fr fr β€” report it 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. so like, go forth and share it, just keep the receipts bestie πŸŽ€


πŸ“ 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, this command

info shishi

should give you access to the complete manual. it's the mothership, the main character of docs, iykyk πŸ¦‹


lowkey reminder: this page is version 1.0.3 of the shishi manual, and it's filed under section 3 β€” the library-functions section, where all the C API besties live πŸ’– so go extract those microseconds, you've got this, mwah πŸ’…βœ¨