| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- '\" t
- .\" Title: ne_has_support
- .\" Author:
- .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
- .\" Date: 23 November 2024
- .\" Manual: neon API reference
- .\" Source: neon 0.34.0
- .\" Language: English
- .\"
- .TH "NE_HAS_SUPPORT" "3" "23 November 2024" "neon 0.34.0" "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
- .PP
- \fBNE_FEATURE_GSSAPI\fR
- .RS 4
- Indicates support for Negotiate authentication via GSSAPI
- .RE
- .PP
- \fBNE_FEATURE_LIBPXY\fR
- .RS 4
- Indicates support for libproxy (in
- ne_session_system_proxy)
- .RE
- .SH "RETURN VALUE"
- .PP
- \fBne_has_support\fR
- returns non\-zero if the given feature is supported, or zero otherwise\&.
- .SH "HISTORY"
- .PP
- The
- \fBNE_FEATURE_GSSAPI\fR
- and
- \fBNE_FEATURE_LIBPXY\fR
- constants are only available in neon 0\&.34\&.0 and later\&.
- .SH "SEE ALSO"
- .PP
- ne_version_match(3),
- ne_sock_init(3)
- .SH "COPYRIGHT"
- .br
- Copyright \(co 2001-2024 Joe Orton
- .br
|