| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- '\" t
- .\" Title: ne_has_support
- .\" Author:
- .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
- .\" Date: 21 January 2023
- .\" Manual: neon API reference
- .\" Source: neon 0.32.5
- .\" Language: English
- .\"
- .TH "NE_HAS_SUPPORT" "3" "21 January 2023" "neon 0.32.5" "neon API reference"
- .\" -----------------------------------------------------------------
- .\" * Define some portability stuff
- .\" -----------------------------------------------------------------
- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .\" http://bugs.debian.org/507673
- .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .ie \n(.g .ds Aq \(aq
- .el .ds Aq '
- .\" -----------------------------------------------------------------
- .\" * set default formatting
- .\" -----------------------------------------------------------------
- .\" disable hyphenation
- .nh
- .\" disable justification (adjust text to left margin only)
- .ad l
- .\" -----------------------------------------------------------------
- .\" * MAIN CONTENT STARTS HERE *
- .\" -----------------------------------------------------------------
- .SH "NAME"
- ne_has_support \- determine feature support status
- .SH "SYNOPSIS"
- .sp
- .ft B
- .nf
- #include <ne_utils\&.h>
- .fi
- .ft
- .HP \w'int\ ne_has_support('u
- .BI "int ne_has_support(int\ " "feature" ");"
- .SH "DESCRIPTION"
- .PP
- The
- \fBne_has_support\fR
- function can be used to determine whether a particular optional feature, given by the feature code
- \fIfeature\fR, is supported\&. The following feature codes are available:
- .PP
- \fBNE_FEATURE_SSL\fR
- .RS 4
- Indicates support for SSL/TLS
- .RE
- .PP
- \fBNE_FEATURE_ZLIB\fR
- .RS 4
- Indicates support for compressed responses
- .RE
- .PP
- \fBNE_FEATURE_IPV6\fR
- .RS 4
- Indicates support for IPv6
- .RE
- .PP
- \fBNE_FEATURE_LFS\fR
- .RS 4
- Indicates support for large files
- .RE
- .PP
- \fBNE_FEATURE_SOCKS\fR
- .RS 4
- Indicates support for SOCKSv5
- .RE
- .PP
- \fBNE_FEATURE_TS_SSL\fR
- .RS 4
- Indicates support for thread\-safe SSL initialization \(em see
- ne_sock_init
- .RE
- .SH "RETURN VALUE"
- .PP
- \fBne_has_support\fR
- returns non\-zero if the given feature is supported, or zero otherwise\&.
- .SH "SEE ALSO"
- .PP
- ne_version_match(3),
- ne_sock_init(3)
- .SH "AUTHOR"
- .PP
- \fBJoe Orton\fR
- .RS 4
- Author.
- .RE
- .SH "COPYRIGHT"
- .br
|