NE_HAS_SUPPORT(3)
β¨ NE_HAS_SUPPORT β¨
okay so bestie, this is the neon API reference page for ne_has_support, and it's literally the "does my build even have this??" function π
πΈ NAME πΈ
ne_has_support β determine feature support status π
π¦ SYNOPSIS π¦
#include <ne_utils.h>
int ne_has_support(int feature);
π DESCRIPTION π
The ne_has_support function is your little vibe check for the library itself π₯ You pass it a feature code (feature) and it tells you whether that particular optional feature is supported. So iconic of it.
Here are all the feature codes you can ask about, no cap:
NE_FEATURE_SSLβ Indicates support for SSL/TLS πNE_FEATURE_ZLIBβ Indicates support for compressed responses (smaller = cuter fr)NE_FEATURE_IPV6β Indicates support for IPv6 πNE_FEATURE_LFSβ Indicates support for large filesNE_FEATURE_SOCKSβ Indicates support for SOCKSv5 π§¦NE_FEATURE_TS_SSLβ Indicates support for thread-safe SSL initialization β seene_sock_init(3)NE_FEATURE_GSSAPIβ Indicates support for Negotiate authentication via GSSAPINE_FEATURE_LIBPXYβ Indicates support for libproxy (inne_session_system_proxy(3))NE_FEATURE_NTLMβ Indicates support for NTLM authentication via Libntlm
That's the whole list, nine of them, count 'em π
β RETURN VALUE β
ne_has_support returns non-zero if the given feature is supported β meaning yes bestie, you're so back π«Ά β or zero otherwise (it's giving unsupported, sorry π).
π°οΈ HISTORY π°οΈ
Some of these constants are new-ish, so keep an eye out:
- The
NE_FEATURE_GSSAPIandNE_FEATURE_LIBPXYconstants are only available in neon0.34.0and newer. - The
NE_FEATURE_NTLMis only available in neon0.37.0and newer.
lowkey important: if you're on an older neon, those constants straight up won't exist. not a vibe, just a fact π
π SEE ALSO π
ne_version_match(3), ne_sock_init(3)
Β©οΈ COPYRIGHT Β©οΈ
Copyright Β© 2001-2026 Joe Orton
and that's the page, bestie!! πβ¨ this lil gem is from the neon manual, dated 03/20/2026 β go forth and feature-check responsibly ππ¦
π¦ 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