shishi_cfg_clientkdcetype(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_cfg_clientkdcetype ✨

okay bestie, welcome to the shishi section 3 manual page for shishi_cfg_clientkdcetype πŸŽ€ this one's a little function that hands you the list of encryption types your client is supposed to be into. let's get into it πŸ’…


🌸 NAME 🌸

shishi_cfg_clientkdcetype β€” no fr it's an API function, that's the whole name, that's the whole vibe 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_cfg_clientkdcetype(Shishi * handle, int32_t ** etypes);

there she is πŸ‘‘ two args, one int coming back at ya.


πŸ’– ARGUMENTS πŸ’–

  • Shishi * handle β€” the Shishi library handle, and you gotta make it with shishi_init() first, no skipping that step bestie 😭
  • int32_t ** etypes β€” a pointer to an array of encryption types. yes it's a double pointer. yes it's giving pointer-to-pointer energy. we move πŸ’…

🌈 DESCRIPTION 🌈

so what does it actually do? it sets the variable etypes to a static array of preferred encryption types that apply to clients ✨ like, the ones your client is into, prefs-wise. static array, so don't go freeing it, iykyk πŸ™ˆ


⭐ RETURN VALUE ⭐

it returns the number of encryption types that the updated array pointer is referring to πŸ”₯ and if there's no type existing at all? it returns zero. that's it, that's the whole return value, periodt πŸ’€


😭 REPORTING BUGS 😭

found a bug? spill it to <bug-shishi@gnu.org> πŸ› they wanna know, 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 πŸ’œ (so like, keep the receipts, bestie)


🧚 SEE ALSO 🧚

the full documentation for shishi is maintained as a Texinfo manual πŸ“– and if the info and shishi programs are properly installed at your site, this command:

info shishi

should give you access to the complete manual ✨ slay.


and that's the page!! mwah πŸ’‹ this was shishi_cfg_clientkdcetype(3), part of shishi 1.0.3 β€” thanks for reading my little manual, ily, go encrypt something responsibly πŸŽ€πŸ’–πŸ¦‹