shishi_kdcreq_set_sname(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_kdcreq_set_sname β€” the manual page, but make it cute πŸ’–

okay so bestie, welcome to shishi_kdcreq_set_sname from the shishi manual, section 3. it's an API function, and it's literally the girl whose whole job is setting the server name field. no cap. let's get into it ✨


🌸 NAME 🌸

shishi_kdcreq_set_sname β€” API function 🫢


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_kdcreq_set_sname(Shishi * handle, Shishi_asn1 kdcreq,
Shishi_name_type name_type, const char * sname[]);

like, that's the whole vibe. she takes a handle, a kdcreq, a name type, and an array of names. periodt πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, as allocated by shishi_init(). it's giving "the main character of every shishi function", honestly. πŸ‘‘
  • Shishi_asn1 kdcreq β€” the KDC-REQ variable we're setting the server name field in. this is the girl we're editing. πŸ’–
  • Shishi_name_type name_type β€” the type of principial, see Shishi_name_type, usually SHISHI_NT_UNKNOWN. yes it says "principial", that's the original, i don't make the rules. πŸ™ˆ
  • const char * sname[] β€” input array with the principal name. your little roster of name parts, slay. ✨

πŸ’… DESCRIPTION πŸ’…

Set the server name field in the KDC-REQ.

that's it. that's the whole function. she sets the server name field, she does it well, and she goes home. iconic behavior fr fr 🌈


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's the green flag, bestie β€” anything else and the vibe check failed 😭


πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't suffer in silence, tell the devs:

Report bugs 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.

(translation: share it, remix it, 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.

like, go read the whole thing, it's a saga and you deserve the full lore πŸ’œ


okay that's the page!! every flag, every argument, every default, every link, all of it β€” nothing skipped, nothing invented. that's the rule and we respect the rule. 🫢

mwah πŸ’‹ bye bestie, go set some server names


this has been shishi_kdcreq_set_sname(3) from the shishi manual, version 1.0.3 β€” written by the shishi girlies, delivered to you with love πŸŽ€β­πŸ’–