NNG_TLS_ENGINE_NAME(3tls)
β¨ 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
- ubuntu stonking: libnng-dev 1.12.0-1 Β· MIT OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms