1NE_HAS_SUPPORT(3)             neon API reference             NE_HAS_SUPPORT(3)
2
3
4

NAME

6       ne_has_support - determine feature support status
7

SYNOPSIS

9       #include <ne_utils.h>
10
11       int ne_has_support(int feature);
12

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

42       ne_version_match(3), ne_sock_init(3)
43

AUTHOR

45       Joe Orton <neon@lists.manyfish.co.uk>
46           Author.
47
49neon 0.30.0                      31 July 2013                NE_HAS_SUPPORT(3)
Impressum