1NE_HAS_SUPPORT(3) neon API reference NE_HAS_SUPPORT(3)
2
3
4
6 ne_has_support - determine feature support status
7
9 #include <ne_utils.h>
10
11 int ne_has_support(int feature);
12
14 The ne_has_support function can be used to determine whether a
15 particular optional feature, given by the feature code feature, is
16 supported. The following feature codes are available:
17
18 NE_FEATURE_SSL
19 Indicates support for SSL/TLS
20
21 NE_FEATURE_ZLIB
22 Indicates support for compressed responses
23
24 NE_FEATURE_IPV6
25 Indicates support for IPv6
26
27 NE_FEATURE_LFS
28 Indicates support for large files
29
30 NE_FEATURE_SOCKS
31 Indicates support for SOCKSv5
32
33 NE_FEATURE_TS_SSL
34 Indicates support for thread-safe SSL initialization — see
35 ne_sock_init
36
38 ne_has_support returns non-zero if the given feature is supported, or
39 zero otherwise.
40
42 ne_version_match(3), ne_sock_init(3)
43
45 Joe Orton <neon@lists.manyfish.co.uk>
46 Author.
47
49neon 0.29.5 14 October 2010 NE_HAS_SUPPORT(3)