shishi_der_msgtype(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

✨ NAME ✨

shishi_der_msgtype β€” it's an API function, bestie πŸ’… (from the shishi manual, section 3, iykyk)


🌸 SYNOPSIS 🌸

#include <shishi.h>

Shishi_msgtype shishi_der_msgtype(Shishi * handle, const char * der,
       size_t derlen);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). Like, the whole main character of your setup, no cap.
  • const char * der β€” the input character array holding the DER encoding. That's the data you're feeding in πŸ“
  • size_t derlen β€” the length of that input character array with the DER encoding. Gotta tell it how much, fr fr.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so basically: this function figures out the msg-type of DER coded data of a packet. That's it, that's the whole vibe. It looks at your DER data and tells you what msg-type it is ✨


πŸ‘‘ RETURN VALUE πŸ‘‘

Returns the msg-type of the DER data πŸ’–

And if it doesn't work out? Returns 0 on failure. Not me getting a zero, it's giving rejection 😭


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? Do NOT suffer in silence, tell the devs:


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, go off, just keep the receipts 🫢)


🌈 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. The way that command just... unlocks the whole lore πŸ“–βœ¨


And that's the whole page, bestie! This was shishi_der_msgtype(3) from shishi version 1.0.3 β€” thanks for coming to my TED talk, ily, go read your DER data πŸ’œπŸ¦‹