shishi_krberror_set_edata(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_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 from shishi_init(). it's literally the passport for everything you do here, don't lose it πŸ¦‹
  • Shishi_asn1 krberror β€” the krberror you allocated with shishi_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>.


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 πŸ’…πŸ’–