shishi_krberror_set_etext(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_etext ✨

okay bestie, welcome to the shishi manual, section 3 πŸŽ€ this one's all about shishi_krberror_set_etext and it is so simple you're gonna slay it. no cap.


πŸ’– NAME πŸ’–

shishi_krberror_set_etext β€” an API function, and yes that's literally the whole job description πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_krberror_set_etext(Shishi * handle, Shishi_asn1 krberror,
       const char * etext);

like… three args, one int, we move πŸ¦‹


🫢 ARGUMENTS 🫢

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). it's giving "main character" fr.
  • Shishi_asn1 krberror β€” the krberror, which you got from shishi_krberror(). iconic little guy.
  • const char * etext β€” input array holding the error text you wanna set. that's the tea you're pouring in β˜•

🌈 DESCRIPTION 🌈

so what it does: it sets the error text (the e-text) field in KRB-ERROR to the value you specified. that's it. that's the whole function. periodt. πŸ’œ


⭐ RETURN VALUE ⭐

returns SHISHI_OK iff it was successful. iff!! not "if", iff β€” that's the vibe check and you passed πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? nooo 😭 don't gatekeep, 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.

(so like, copy it, remix it, it's fine β€” just keep the receipts 🧾✨)


πŸ’€ 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 lowkey required reading bestie πŸ“š


and that's the whole page!! this was shishi version 1.0.3, page shishi_krberror_set_etext(3) β€” mwah, love u, go set some error text πŸ’–πŸŒΈπŸ¦‹πŸ’