NNG_TLS_ENGINE_NAME(3tls)

πŸ“¦
version 1.12.0 Β· 4 versions
, in ubuntu stonking

✨ NNG_TLS_ENGINE_NAME ✨

okay bestie, welcome to the 3tls corner of the NNG Reference Manual πŸ’– this one's a lil baby page but it's lowkey iconic, so let's go.


🌸 NAME 🌸

nng_tls_engine_name β€” the TLS engine name, aka "who's the TLS plug rn"


πŸŽ€ SYNOPSIS πŸŽ€

#include <nng/supplemental/tls/tls.h>

const char *nng_tls_engine_name(void);

πŸ’… DESCRIPTION πŸ’…

so nng_tls_engine_name() hands you back a short name for whichever TLS engine is currently the main character. that's it. that's the whole function. she's simple, she's efficient, we love her 🫢

and if no engine is registered at all? you don't get NULL, you don't get a crash, you get the special name "none". literally the "nobody's home" of TLS engines 😭


⭐ RETURN VALUES ⭐

the name of the engine. periodt. πŸ’…


🌈 ERRORS 🌈

none. zero. nada. she simply cannot fail, no cap β€” this function does not produce any errors ✨


πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page bestie!! mwah πŸ’‹

this lil cutie is part of the NNG Reference Manual, dated 2026-06-30. go forth and vibe check ur TLS engines responsibly πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from