5
5
* | (__| |_| | _ <| |___
6
6
* \___|\___/|_| \_\_____|
8
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
8
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
10
10
* This software is licensed as described in the file COPYING, which
11
11
* you should have received as part of this distribution. The terms
18
18
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
* KIND, either express or implied.
21
* $Id: version.c,v 1.61 2009-06-10 02:49:43 yangtse Exp $
22
21
***************************************************************************/
121
if (RTMP_LIB_VERSION & 0xff) {
122
suff[0] = (RTMP_LIB_VERSION & 0xff) + 'a' - 1;
127
len = snprintf(ptr, left, " librtmp/%d.%d%s",
128
RTMP_LIB_VERSION >> 16, (RTMP_LIB_VERSION >> 8) & 0xff, suff);
130
If another lib version is added below this one, this code would
119
/* data for curl_version_info */
142
/* data for curl_version_info
144
Keep the list sorted alphabetically. It is also written so that each
145
protocol line has its own #if line to make things easier on the eye.
121
148
static const char * const protocols[] = {
122
#ifndef CURL_DISABLE_TFTP
125
#ifndef CURL_DISABLE_FTP
128
#ifndef CURL_DISABLE_TELNET
131
149
#ifndef CURL_DISABLE_DICT
152
#ifndef CURL_DISABLE_FILE
155
#ifndef CURL_DISABLE_FTP
158
#if defined(USE_SSL) && !defined(CURL_DISABLE_FTP)
161
#ifndef CURL_DISABLE_HTTP
164
#if defined(USE_SSL) && !defined(CURL_DISABLE_HTTP)
167
#ifndef CURL_DISABLE_IMAP
170
#if defined(USE_SSL) && !defined(CURL_DISABLE_IMAP)
134
173
#ifndef CURL_DISABLE_LDAP
175
#if (defined(USE_OPENLDAP) && defined(USE_SSL)) || \
176
(!defined(USE_OPENLDAP) && defined(HAVE_LDAP_SSL))
140
#ifndef CURL_DISABLE_HTTP
143
#ifndef CURL_DISABLE_FILE
148
#ifndef CURL_DISABLE_HTTP
151
#ifndef CURL_DISABLE_FTP
180
#ifndef CURL_DISABLE_POP3
183
#if defined(USE_SSL) && !defined(CURL_DISABLE_POP3)
189
#ifndef CURL_DISABLE_RTSP
156
192
#ifdef USE_LIBSSH2
198
#ifndef CURL_DISABLE_SMTP
201
#if defined(USE_SSL) && !defined(CURL_DISABLE_SMTP)
204
#ifndef CURL_DISABLE_TELNET
207
#ifndef CURL_DISABLE_TFTP