shishi_kdcreq_clear_padata(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_kdcreq_clear_padata(3) πŸ’–

okay bestie, so this one lives in the shishi manual section and it's giving very "small function, big responsibility" energy. It's an API function β€” like, a real one, callable from your code, no cap. Let's get into it 🫢


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_kdcreq_clear_padata(Shishi * handle, Shishi_asn1 kdcreq);

like. two arguments. one int back. clean. iconic. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, bestie. The one you got from shishi_init(). You did init, right? Don't be out here passing an uninitialized handle, I'm begging πŸ™ˆ
  • Shishi_asn1 kdcreq β€” the KDC-REQ that's about to get its PA-DATA removed. Yes, that PA-DATA. She's leaving. It's not a glow-up, it's a glow-out ✨

🌸 DESCRIPTION 🌸

So the whole vibe of this function is literally in the name, and I love that for it: it removes the padata field from a KDC-REQ. That's it. That's the function. Not me over-explaining, there's genuinely nothing more β€” she does one thing and she does it well πŸ‘‘

If your KDC-REQ is carrying padata around and you're like "bestie, not today", you call this and the field is gone. Poof. πŸ¦‹


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. Like, only if it worked. That iff is doing a lot of heavy lifting and honestly? Respect. Anything that isn't SHISHI_OK means the vibe check failed 😭


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? Not the slay we were hoping for, but okay, tell the people:

fr fr, they want to know. Don't gatekeep your bug report 🫢


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. no royalty?? we love a generous king 🌈


🧚 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 whole thing, it's the main character of this whole ecosystem πŸ’œ


and that's the whole page, bestie. tiny function, zero drama, one job, does it. periodt. πŸ’…

shishi version 1.0.3 β€” mwah, sending u off with a forehead kiss and the reminder that shishi_kdcreq_clear_padata(3) was brought to you by the fine folks at GNU Shishi πŸŒΈπŸŽ€βœ¨