'\" t
.\" Title: ne_has_support
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.74.3
.\" Date: 13 September 2009
.\" Manual: neon API reference
.\" Source: neon 0.29.0
.\" Language: English
.\"
.TH "NE_HAS_SUPPORT" "3" "13 September 2009" "neon 0.29.0" "neon API reference"
.\" -----------------------------------------------------------------
.\" * 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
.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 <\&neon@lists.manyfish.co.uk\&>
.RS 4
Author.
.RE
.SH "COPYRIGHT"
.br