shishi_keys_for_server_in_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_keys_for_server_in_file(3) πŸ’–

okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_keys_for_server_in_file β€” an API function, no cap. sit down, hydrate, let's go ✨


🌸 NAME 🌸

shishi_keys_for_server_in_file β€” it's an API function, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

Shishi_key * shishi_keys_for_server_in_file(Shishi * handle, const char
* filename, const char * server);

look at her. three args. gorgeous. iconic. πŸ’…


✨ ARGUMENTS ✨

  • Shishi * handle β€” the Shishi library handle, and you make it with shishi_init(). that's her origin story, fr fr.
  • const char * filename β€” the file you're reading keys out of. the key source, the plug, the supplier πŸ“
  • const char * server β€” the server name you want a key for. like, whose key are we getting? this one's. πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so basically: get the key for the specified server, out of filename. that's it, that's the plot. key. server. file. slay 🫢


⭐ RETURN VALUE ⭐

she returns the key for the specific server, read straight from the file you pointed at. πŸŽ€

but β€” if no key could be found, or an error got encountered? you get NULL. that's the "no key for you" outcome, and honestly it's giving πŸ’€ so check your return value, bestie, always.


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me being the one to tell you, but: report bugs to <bug-shishi@gnu.org>.

they wanna hear from you, fr fr. πŸ›


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 queen, keep the notice, that's the whole deal πŸ’–)


🌈 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. iykyk πŸ“–βœ¨


and that's the page, bestie β€” go forth and fetch keys responsibly πŸ§šπŸ’…

shishi version 1.0.3, page shishi_keys_for_server_in_file(3) β€” mwah, bye, love you, don't forget to check for NULL πŸŽ€πŸ’œπŸ¦‹