shishi_krberror_edata(3)
π shishi_krberror_edata β the manual page, but make it cute
okay bestie, buckle up, we're in the shishi manual (section 3, the library-calls girlies π) and this one is all about scooping extra error data out of a KRB-ERROR. yes ma'am. let's get into it π
β¨ NAME β¨
shishi_krberror_edata β an API function. that's the whole name, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_krberror_edata(Shishi * handle, Shishi_asn1 krberror, char **
edata, size_t * edatalen);
look at her. four arguments, one int coming back at you. iconic behavior fr fr β¨
π«Ά ARGUMENTS π«Ά
Shishi * handleβ the shishi handle, and no you can't just make one up, she has to be allocated byshishi_init(). periodt.Shishi_asn1 krberrorβ a KRB-ERROR structure that's carrying an error code. that's the whole point of her πchar ** edataβ output array where the newly allocated error data lands. brand new allocation, fresh out the box πsize_t * edatalenβ output length of that error data. so you know how much of it there is, no guessing π§
π DESCRIPTION π
so what does she actually do? she extracts the additional error data from the server. that's it, that's the job π
and here's the tea: that data might be possibly empty. so don't come for her if there's nothing there, sometimes the server just has nothing to say and that's valid π
β RETURN VALUE β
returns SHISHI_OK iff successful. that's the only yes. anything else and we're not slaying, we're just surviving π
π₯ REPORTING BUGS π₯
found a bug? don't suffer in silence bestie, tell the people:
- report bugs 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/
π 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.
like... generous, unbothered, royalty-free. main character energy 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, this command:
info shishi
should give you access to the complete manual. iykyk πβ¨
okay that's the whole page, you ate that π and just so you know where this came from: it's the shishi manual, version 1.0.3, and this little legend is shishi_krberror_edata(3). go forth and extract that error data, bestie ππ¦β¨
π¦ 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