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

okay bestie, we're in the shishi manual, section 3 (that's the library-functions girlies ✨). this page is about one tiny little function that does one tiny little thing, and honestly? it eats. let's go 🫢


🌸 NAME 🌸

shishi_krberror_remove_etext β€” an API function, no cap. that's literally it, that's the whole name section πŸ’…


✨ SYNOPSIS ✨

so first you gotta pull in the header, obviously:

#include <shishi.h>

int shishi_krberror_remove_etext(Shishi * handle, Shishi_asn1 krberror);

see how it takes two args and hands you back an int? iconic behavior 🌈


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). this is like... your whole shishi session's main character πŸ‘‘ you can't just make one up out of nowhere, it has to come from shishi_init().
  • Shishi_asn1 krberror β€” the krberror you're working on, and it has to be one that was allocated by shishi_krberror(). don't be out here passing random stuff, bestie, it's giving chaos 😭

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the whole vibe: this function removes the error text (e-text) field in a KRB-ERROR. that's it. that's the job. it goes in, it finds the e-text, and it says bye bye πŸ¦‹

no notes, it's just a little cleanup service for your KRB-ERROR struct, fr fr.


⭐ RETURN VALUE ⭐

it returns SHISHI_OK iff it was successful. that's the whole story β€” SHISHI_OK means we ate, anything else means we did not πŸ“


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found something cursed? don't suffer in silence, spill:


Copyright Β© 2002-2022 Simon Josefsson.

and the licensing tea, word for word: 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, go off, 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, this command:

info shishi

should give you access to the complete manual. iykyk, run it and read the whole thing like the scholar you are πŸ“šβœ¨


tiny reminder bestie: this page is shishi_krberror_remove_etext(3) from shishi version 1.0.3. mwah, go remove some e-text, you've got this πŸ’…πŸŽ€