shishi_kdcreq_options(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_options β€” the manual page, but make it make sense ✨

okay bestie, pull up a chair πŸŽ€ this is a page from the shishi manual (section 3, the library-function section, iykyk) and it's about one lil function called shishi_kdcreq_options. it's giving "small but mighty". let's get into it πŸ’…


🌸 NAME 🌸

shishi_kdcreq_options β€” an API function. yeah, that's the whole vibe. it's a function. it's part of the API. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_kdcreq_options(Shishi * handle, Shishi_asn1 kdcreq, uint32_t
* flags);

that's the whole shape of it, no cap. note the line break in the signature β€” that's exactly how it's written, so don't come for me πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). this is the main character of every shishi function fr fr 🫢
  • Shishi_asn1 kdcreq β€” the KDC-REQ variable you're pulling the kdc-options field out of. this is the thing we're snooping on πŸ‘€
  • uint32_t * flags β€” a pointer to an output integer. the flags get written here. pointer alert, bestie β€” it's an output, so don't expect it to come in with anything meaningful ✨

πŸŽ€ DESCRIPTION πŸŽ€

Extract KDC-Options from KDC-REQ.

that's it. that's the function. it goes into the KDC-REQ, grabs the KDC-Options, and hands them back to you through that flags pointer. lowkey elegant, highkey useful πŸ’œ


🌈 RETURN VALUE 🌈

Returns SHISHI_OK iff successful. (and if it's not successful... it's not SHISHI_OK. the math is mathing ✨)


πŸ”₯ REPORTING BUGS πŸ”₯

found a bug? don't suffer in silence, bestie 😭 report it to <bug-shishi@gnu.org>.

they literally want to hear from you. periodt. πŸ’…


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: you can copy and share this file however you want, any medium, no royalty, no fee β€” just keep the copyright notice and this notice attached. iconic behavior honestly 🌸)


🧚 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 read it, it's the director's cut πŸ“


heads up bestie: this page is from shishi version 1.0.3 πŸ’– that's the version tag at the bottom of the original, and now it lives here instead. mwah, go extract those KDC-Options, you absolute legend 🫢✨πŸ’