ne_has_support(3)

ne_has_support3

Determine feature support status

Usage

#include <ne_utils.h>

int ne_has_support(int feature);

Overview

The ne_has_support function can be used to determine whether a particular optional feature, given by the feature code feature, is supported. The following feature codes are available:

NE_FEATURE_SSL

Indicates support for SSL/TLS

NE_FEATURE_ZLIB

Indicates support for compressed responses

NE_FEATURE_IPV6

Indicates support for IPv6

NE_FEATURE_LFS

Indicates support for large files

NE_FEATURE_SOCKS

Indicates support for SOCKSv5

NE_FEATURE_TS_SSL

Indicates support for thread-safe SSL initialization — see ne_sock_init(3)

NE_FEATURE_GSSAPI

Indicates support for Negotiate authentication via GSSAPI

NE_FEATURE_LIBPXY

Indicates support for libproxy (in ne_session_system_proxy(3))

NE_FEATURE_NTLM

Indicates support for NTLM authentication via Libntlm

Return value

ne_has_support returns non-zero if the given feature is supported, or zero otherwise.

Releases

11 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12
  9. 13
  10. Arch

History

The NE_FEATURE_GSSAPI and NE_FEATURE_LIBPXY constants are only available in neon 0.34.0 and newer.

The NE_FEATURE_NTLM is only available in neon 0.37.0 and newer.

From neon 0.37.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.