shishi_kdcreq_to_file(3)
π shishi_kdcreq_to_file β the shishi manual, bestie edition π
okay so we're in section 3 of the shishi manual, and today's main character is shishi_kdcreq_to_file. no cap, it's literally just "save ur KDC-REQ to a file" energy and honestly? iconic. π
β¨ NAME β¨
shishi_kdcreq_to_file β an API function π«Ά
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_kdcreq_to_file(Shishi * handle, Shishi_asn1 kdcreq, int
filetype, const char * filename);
like, that's the whole vibe. four args, one int coming back at you. periodt. π
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, bestie, as allocated byshishi_init(). you can't just make one up, she needs to be born properly. πShishi_asn1 kdcreqβ the KDC-REQ you wanna save. this is the star of the show, the main character, the whole point. πint filetypeβ input variable saying what type of file we're writing. go look atShishi_filetypefor the tea on which types exist. π₯const char * filenameβ input variable with the filename you're writing to. yes queen, pick a name. π
π DESCRIPTION π
Write the KDC-REQ to a file in the specified TYPE. that's it, that's the function.
β οΈ lowkey important: the file will be truncated if it already exists. so if there was stuff in there before? it's gone. bye. π
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the only answer we're accepting, fr fr. π«Ά
π REPORTING BUGS π
found a bug? not me being the bearer of bad news, but pls report it to <bug-shishi@gnu.org>.
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
we love a paper trail. π
π COPYRIGHT π
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: keep the receipt, 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, the command
info shishi
should give you access to the complete manual. iykyk. π
and that's the whole page, babe β this was shishi_kdcreq_to_file(3) from shishi version 1.0.3, and yes it's giving "i know my way around a Kerberos library" main character energy. go forth and write those files. πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms