shishi_realm_for_server_file(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_realm_for_server_file β€” the vibe ✨

okay bestie, we're doing a manual page from the shishi fam, and this one is shishi_realm_for_server_file(3). yes it's a whole mouthful, yes it's iconic, let's go πŸ’…


🌸 NAME 🌸

shishi_realm_for_server_file β€” an API function, and she does exactly one thing and does it well πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

char * shishi_realm_for_server_file(Shishi * handle, char * server);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” this is the Shishi library handle, the one you get when you call shishi_init(). she's your girl, she's your entry point, hold onto her 🫢
  • char * server β€” the hostname you're tryna figure out the realm for. just a hostname. that's it. no cap.

πŸ‘‘ DESCRIPTION πŸ‘‘

so basically: she finds the realm that applies to a host server, and she does it by using the standard configuration file. that's the whole thing. no tricks, no surprises, just realm-hunting by the book ✨


🌈 RETURN VALUE 🌈

she hands you back the realm for the host. and if she doesn't know it? you get NULL. that's it, that's the answer, don't @ me 😭


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me gatekeeping, go tell the people:


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. yes bestie, that's the deal, respect the notice and you're golden πŸ‘‘


πŸ”₯ 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. literally the whole thing, go read it, it's giving main character energy πŸ“š


k bye ily, this was shishi version 1.0.3, page shishi_realm_for_server_file(3), and that's the tea πŸ“πŸ§š