shishi_krberror_client_set(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_client_set(3) β€” the shishi manual, bestie edition πŸ’–

okay so you found your way to the shishi section 3 manual, and honestly? slay. This one's about setting a client name inside a Krberror, and it's short, sweet, and kind of iconic.


✨ NAME ✨

shishi_krberror_client_set β€” it's an API function, bestie. that's the whole name. that's it. πŸŽ€


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_krberror_client_set(Shishi * handle, Shishi_asn1 krberror,
       const char * client);

like. look at that signature. three args. no drama. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, the one you got from shishi_init(). it's your main character, everything runs through it.
  • Shishi_asn1 krberror β€” the Krberror you're messing with. specifically, we're setting the client name field inside it. so like, this is the thing getting the glow-up.
  • const char * client β€” a zero-terminated string holding the principal name in RFC 1964 form. yes, that RFC. yes, that form. don't freestyle it. πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

Set the client name field in the Krberror.

that's literally it, fr fr. one job. it does the one job. no cap. ✨


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful.

iff means if and only if, babe. so if you get SHISHI_OK, you ate. anything else? not a success. go read the vibe check on your error code. 😭

πŸ“ REPORTING BUGS πŸ“

Found a bug? don't just sit there spiraling, 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/

they want to hear from you, genuinely. 🫢


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.

(that's the license line and it's very generous of them, we love to see it. 🌈)


🌸 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.

like, the whole lore. the extended universe. go read it. πŸ“š


and that's the page!! this was from the shishi manual, version 1.0.3, page shishi_krberror_client_set(3) β€” mwah, take care of her, she's short but she's perfect. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά