NE_SSL_PROTO_NAME(3)
β¨ NE_SSL_PROTO_NAME β¨
okay so bestie, welcome to the neon API reference β this one's a tiny little function that's about to become your new fave, no cap π
πΈ NAME πΈ
ne_ssl_proto_name β literally just maps an SSL/TLS protocol version to a name you can actually read π
π¦ SYNOPSIS π¦
#include <ne_ssl.h>
const char *ne_ssl_proto_name(enum ne_ssl_protocol proto);
π DESCRIPTION π
so the way that ne_ssl_proto_name works is: you hand it an SSL/TLS version constant, and it gives you back a human-readable name for it. that's it. that's the whole vibe. π
the set of versions currently are as follows, bestie β memorize these, they're iconic:
NE_SSL_PROTO_UNSPECβ unspecified/unknown version πNE_SSL_PROTO_SSL3β SSL v3 πNE_SSL_PROTO_TLS_1_0β TLS v1.0NE_SSL_PROTO_TLS_1_1β TLS v1.1NE_SSL_PROTO_TLS_1_2β TLS v1.2NE_SSL_PROTO_TLS_1_3β TLS v1.3 β
π RETURN VALUE π
the ne_ssl_proto_name function always returns a non-NULL string β even if the version constant is not valid. so like, you literally cannot get a NULL back from this, she ate and left no crumbs π«Ά
π§ HISTORY π§
ne_ssl_proto_name is available in neon 0.34.0 and later. so if you're on something olderβ¦ bestie, please upgrade π
π SEE ALSO π
π COPYRIGHT π
Copyright Β© 2001-2026 Joe Orton
and that's the whole page, bestie β¨ this lil gem comes to you from the neon manual, dated 03/20/2026 β go forth and name those protocols, ily, bye! ππ¦πΈ
π¦ where this page comes from
- arch rolling: neon 0.37.1-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms