shishi_ticket_sname_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_ticket_sname_set ✨

okay bestie, welcome to shishi_ticket_sname_set(3) β€” yes that's the whole function name, yes it's a mouthful, we deal πŸ’… it lives in the shishi section 3 manual and it's literally just here to give a Ticket its server name. that's it. that's the job. and it eats. πŸŽ€


πŸ¦‹ NAME πŸ¦‹

shishi_ticket_sname_set β€” an API function, no cap


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_ticket_sname_set(Shishi * handle, Shishi_asn1 ticket,
       Shishi_name_type name_type, char * sname[]);

πŸ’– ARGUMENTS πŸ’–

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). it's giving main character, everything needs it.
  • Shishi_asn1 ticket β€” the Ticket variable you're setting the server name field in. this is the glow-up target.
  • Shishi_name_type name_type β€” the type of principial (yes, that's how it's spelled in the source, we respect it πŸ™ˆ), see Shishi_name_type, usually SHISHI_NT_UNKNOWN.
  • char * sname[] β€” input array with the principal name. the actual name name.

🌈 DESCRIPTION 🌈

Set the server name field in the Ticket. periodt. that's the entire description, bestie β€” one sentence, zero filler, iconic behaviour honestly πŸ‘‘


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. and iff it's not successful? it won't return SHISHI_OK. groundbreaking, i know 🫢


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me gatekeeping β€” 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. slay, that's genuinely generous licensing fr fr.


🧚 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, iykyk 🌸


and that's the whole page, bestie πŸ’œ this was shishi_ticket_sname_set(3), shipped in shishi 1.0.3, and yeah the version and the section number are the only crumbs of metadata we got β€” so take them, hold them, and go set some server names. bye πŸ¦‹βœ¨