~ubuntu-branches/ubuntu/natty/curl/natty-proposed

« back to all changes in this revision

Viewing changes to lib/ssh.h

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-08-12 08:20:48 UTC
  • mto: (3.4.8 sid)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20100812082048-7g7fewx1ai2ozgsf
Tags: upstream-7.21.1
ImportĀ upstreamĀ versionĀ 7.21.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
151
151
#endif
152
152
 
153
153
#if defined(LIBSSH2_VERSION_NUM) && (LIBSSH2_VERSION_NUM >= 0x010000)
154
 
/* libssh2_sftp_seek64() has only ever been provided by libssh2 1.0 or
155
 
   later */
156
154
#  define HAVE_LIBSSH2_SFTP_SEEK64 1
157
155
#else
158
156
#  undef HAVE_LIBSSH2_SFTP_SEEK64
159
157
#endif
160
158
 
 
159
#if defined(LIBSSH2_VERSION_NUM) && (LIBSSH2_VERSION_NUM >= 0x010206)
 
160
#  define HAVE_LIBSSH2_SCP_SEND64 1
 
161
#else
 
162
#  undef HAVE_LIBSSH2_SCP_SEND64
 
163
#endif
 
164
 
161
165
 
162
166
extern const struct Curl_handler Curl_handler_scp;
163
167
extern const struct Curl_handler Curl_handler_sftp;