shishi_authenticator_set_crealm(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_authenticator_set_crealm ✨

okay bestie so this is a page from the shishi manual β€” section 3, the library functions one β€” and it's literally all about one tiny lil function: shishi_authenticator_set_crealm. it's giving "set the realm field in an authenticator," and honestly? iconic behaviour. let's get into it πŸ’–


🌸 NAME 🌸

shishi_authenticator_set_crealm β€” it's an API function, bestie. that's the whole vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_authenticator_set_crealm(Shishi * handle, Shishi_asn1
authenticator, const char * crealm);

like. just one function. one include. slay.


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, and you get it from shishi_init(). that's the one that sets everything up for you, no cap.
  • Shishi_asn1 authenticator β€” the authenticator, which you got from shishi_authenticator(). yes you need one of those first, obviously πŸ’…
  • const char * crealm β€” an input array holding the realm. that's it, that's the whole thing.

πŸ’œ DESCRIPTION πŸ’œ

so what does it do? it sets the realm field in the authenticator to the value you specified. that's it. that's the function. short, sweet, does exactly one thing and does it well. main character energy fr fr ✨


🌈 RETURN VALUE 🌈

returns SHISHI_OK iff it was successful. that's the only green flag here, so if you see anything else, something went sideways 😭


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't be shy, report it to <bug-shishi@gnu.org>. also there's the GNU Shishi home page at http://www.gnu.org/software/shishi/ and if you need general help using GNU software, that's at http://www.gnu.org/gethelp/ 🫢


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. so basically: take it, share it, just keep the receipts 🧚


πŸ“ SEE ALSO πŸ“

the full documentation for shishi lives in a Texinfo manual β€” that's the complete lore, not just this one page. if the info and shishi programs are properly installed at your site, then running

info shishi

should give you access to the complete manual. go read it, it's worth it, iykyk πŸ’–


and that's the whole page bestie β€” shishi version 1.0.3, the shishi_authenticator_set_crealm(3) page, and yeah that's the whole thing. mwah πŸ’…βœ¨