shishi_krberror_set_edata(3)
π
shishi_krberror_set_edata β the shishi manual, section 3
okay bestie, gather round π«Ά you're in the shishi part of the manual (section 3, library functions, iykyk) and today's main character is shishi_krberror_set_edata. it does exactly one thing and it does it flawlessly. periodt.
β¨ NAME β¨
shishi_krberror_set_edata β an API function, and yes that's the whole name, no notes π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_krberror_set_edata(Shishi * handle, Shishi_asn1 krberror,
const char * edata);
like look at that signature. gorgeous. no cap. π
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). it's literally the passport for everything you do here, don't lose it π¦Shishi_asn1 krberrorβ the krberror you allocated withshishi_krberror(). this is the thing we're about to decorate β¨const char * edataβ an input array holding the error text you wanna set. this is the ~lewk~ we're applying π
π DESCRIPTION π
okay so. what this does is: it sets the error text (that's the e-data field) in the KRB-ERROR to whatever value you specified. that's it. that's the whole vibe. you hand it the error text, it puts the error text in the e-data field. obsessed with the directness fr fr π
β RETURN VALUE β
it returns SHISHI_OK iff it was successful. yes, "iff". math girlies rise π
π REPORTING BUGS π
found a bug? not me manifesting that for you, but if it happens π 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/
π 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. iconic of them 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 bestie, it's giving encyclopedia but make it kerberos πβ¨
and that's the whole page!! this was shishi_krberror_set_edata(3) from shishi 1.0.3 β thanks for reading, ily, go set some e-data π
π
π¦ 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