Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ne_has_support (3)

Name

ne_has_support - determine feature support status

Synopsis

#include <ne_utils.h>

int ne_has_support(int feature);

Description

NE_HAS_SUPPORT(3)             neon API reference             NE_HAS_SUPPORT(3)



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 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

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


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/neon     |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

SEE ALSO
       ne_version_match(3), ne_sock_init(3)

AUTHOR
       Joe Orton <neon@lists.manyfish.co.uk>
           Author.

COPYRIGHT
NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.webdav.org/neon/neon-0.30.1.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.webdav.org/neon/.



neon 0.30.1                    23 September 2014             NE_HAS_SUPPORT(3)