1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

updated to reflect reality!

This commit is contained in:
Daniel Stenberg 2004-05-11 14:15:49 +00:00
parent 3f106afd00
commit c8807438ce

View File

@ -2,7 +2,7 @@
.\" nroff -man [file] .\" nroff -man [file]
.\" $Id$ .\" $Id$
.\" .\"
.TH curl_version_info 3 "19 Sep 2003" "libcurl 7.10.8" "libcurl Manual" .TH curl_version_info 3 "11 May 2004" "libcurl 7.12" "libcurl Manual"
.SH NAME .SH NAME
curl_version_info - returns run-time libcurl version info curl_version_info - returns run-time libcurl version info
.SH SYNOPSIS .SH SYNOPSIS
@ -28,22 +28,32 @@ The curl_version_info_data struct looks like this
.nf .nf
typedef struct { typedef struct {
CURLversion age; /* 0 - this kind of struct */ CURLversion age; /* see description below */
/* when 'age' is 0 or higher, the members below also exist: */
const char *version; /* human readable string */ const char *version; /* human readable string */
unsigned int version_num; /* numeric representation */ unsigned int version_num; /* numeric representation */
const char *host; /* human readable string */ const char *host; /* human readable string */
int features; /* bitmask, see below */ int features; /* bitmask, see below */
char *ssl_version; /* human readable string */ char *ssl_version; /* human readable string */
long ssl_version_num; /* number */ long ssl_version_num; /* number */
char *libz_version; /* human readable string */ const char *libz_version; /* human readable string */
const char *protocols[]; /* list of protocols */ const char **protocols; /* list of protocols */
/* when 'age' is 1 or higher, the members below also exist: */
const char *ares; /* human readable string */
int ares_num; /* number */
/* when 'age' is 2 or higher, the member below also exists: */
const char *libidn; /* human readable string */
} curl_version_info_data; } curl_version_info_data;
.fi .fi
\fIage\fP describes what kind of struct this is. It is always 0 now. In a \fIage\fP describes what age of this struct this is. The number depends on how
future libcurl, if this struct changes, this age counter may be increased, and new libcurl you're using. You are however guaranteed to get a struct that you
then the struct for number 1 will look different (except for this first struct have a matching struct for in the header, as you tell libcurl your "age" with
field). the input argument.
\fIversion\fP is just an ascii string for the libcurl version. \fIversion\fP is just an ascii string for the libcurl version.
@ -57,38 +67,35 @@ environment.
\fIfeatures\fP can have none, one or more bits set, and the currently defined \fIfeatures\fP can have none, one or more bits set, and the currently defined
bits are: bits are:
.TP 5.5 .RS
.B CURL_VERSION_IPV6 .IP CURL_VERSION_IPV6
supports IPv6 supports IPv6
.TP .IP CURL_VERSION_KERBEROS4
.B CURL_VERSION_KERBEROS4
supports kerberos4 (when using FTP) supports kerberos4 (when using FTP)
.TP .IP CURL_VERSION_SSL
.B CURL_VERSION_SSL
supports SSL (HTTPS/FTPS) supports SSL (HTTPS/FTPS)
.TP .IP CURL_VERSION_LIBZ
.B CURL_VERSION_LIBZ
supports HTTP deflate using libz supports HTTP deflate using libz
.TP .IP CURL_VERSION_NTLM
.B CURL_VERSION_NTLM
supports HTTP NTLM (added in 7.10.6) supports HTTP NTLM (added in 7.10.6)
.TP .IP CURL_VERSION_GSSNEGOTIATE
.B CURL_VERSION_GSSNEGOTIATE
supports HTTP GSS-Negotiate (added in 7.10.6) supports HTTP GSS-Negotiate (added in 7.10.6)
.TP .IP CURL_VERSION_DEBUG
.B CURL_VERSION_DEBUG
libcurl was built with extra debug capabilities built-in. This is mainly of libcurl was built with extra debug capabilities built-in. This is mainly of
interest for libcurl hackers. (added in 7.10.6) interest for libcurl hackers. (added in 7.10.6)
.TP .IP CURL_VERSION_ASYNCHDNS
.B CURL_VERSION_ASYNCHDNS
libcurl was built with support for asynchronous name lookups, which allows libcurl was built with support for asynchronous name lookups, which allows
more exact timeouts (even on Windows) and less blocking when using the multi more exact timeouts (even on Windows) and less blocking when using the multi
interface. (added in 7.10.7) interface. (added in 7.10.7)
.TP .IP CURL_VERSION_SPNEGO
.B CURL_VERSION_SPNEGO
libcurl was built with support for SPNEGO authentication (Simple and Protected libcurl was built with support for SPNEGO authentication (Simple and Protected
GSS-API Negotiation Mechanism, defined in RFC 2478.) (added in 7.10.8) GSS-API Negotiation Mechanism, defined in RFC 2478.) (added in 7.10.8)
.PP .IP CURL_VERSION_LARGEFILE
libcurl was built with support for large files.
.IP CURL_VERSION_IDN
libcurl was built with support for IDNA, domain names with international
letters.
.RE
\fIssl_version\fP is an ascii string for the OpenSSL version used. If libcurl \fIssl_version\fP is an ascii string for the OpenSSL version used. If libcurl
has no SSL support, this is NULL. has no SSL support, this is NULL.