summaryrefslogtreecommitdiff
path: root/lib/ssh.h
Commit message (Collapse)AuthorAgeFilesLines
* checksrc: use space after commaDaniel Stenberg2015-03-171-4/+4
|
* libssh2: detect features based on version, not configure checksDaniel Stenberg2014-11-091-9/+21
| | | | | ... so that non-configure builds get the correct functions too based on the libssh2 version used.
* build: fix circular header inclusion with other packagesYang Tse2013-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit renames lib/setup.h to lib/curl_setup.h and renames lib/setup_once.h to lib/curl_setup_once.h. Removes the need and usage of a header inclusion guard foreign to libcurl. [1] Removes the need and presence of an alarming notice we carried in old setup_once.h [2] ---------------------------------------- 1 - lib/setup_once.h used __SETUP_ONCE_H macro as header inclusion guard up to commit ec691ca3 which changed this to HEADER_CURL_SETUP_ONCE_H, this single inclusion guard is enough to ensure that inclusion of lib/setup_once.h done from lib/setup.h is only done once. Additionally lib/setup.h has always used __SETUP_ONCE_H macro to protect inclusion of setup_once.h even after commit ec691ca3, this was to avoid a circular header inclusion triggered when building a c-ares enabled version with c-ares sources available which also has a setup_once.h header. Commit ec691ca3 exposes the real nature of __SETUP_ONCE_H usage in lib/setup.h, it is a header inclusion guard foreign to libcurl belonging to c-ares's setup_once.h The renaming this commit does, fixes the circular header inclusion, and as such removes the need and usage of a header inclusion guard foreign to libcurl. Macro __SETUP_ONCE_H no longer used in libcurl. 2 - Due to the circular interdependency of old lib/setup_once.h and the c-ares setup_once.h header, old file lib/setup_once.h has carried back from 2006 up to now days an alarming and prominent notice about the need of keeping libcurl's and c-ares's setup_once.h in sync. Given that this commit fixes the circular interdependency, the need and presence of mentioned notice is removed. All mentioned interdependencies come back from now old days when the c-ares project lived inside a curl subdirectory. This commit removes last traces of such fact.
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-0/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
* build: rename 76 lib/*.h filesYang Tse2012-12-281-183/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76 private header files renamed to use our standard naming scheme. This commit only does the file renaming. ---------------------------------------- renamed: amigaos.h -> curl_amigaos.h renamed: arpa_telnet.h -> curl_arpa_telnet.h renamed: asyn.h -> curl_asyn.h renamed: axtls.h -> curl_axtls.h renamed: bundles.h -> curl_bundles.h renamed: conncache.h -> curl_conncache.h renamed: connect.h -> curl_connect.h renamed: content_encoding.h -> curl_content_encoding.h renamed: cookie.h -> curl_cookie.h renamed: cyassl.h -> curl_cyassl.h renamed: dict.h -> curl_dict.h renamed: easyif.h -> curl_easyif.h renamed: escape.h -> curl_escape.h renamed: file.h -> curl_file.h renamed: fileinfo.h -> curl_fileinfo.h renamed: formdata.h -> curl_formdata.h renamed: ftp.h -> curl_ftp.h renamed: ftplistparser.h -> curl_ftplistparser.h renamed: getinfo.h -> curl_getinfo.h renamed: gopher.h -> curl_gopher.h renamed: gtls.h -> curl_gtls.h renamed: hash.h -> curl_hash.h renamed: hostcheck.h -> curl_hostcheck.h renamed: hostip.h -> curl_hostip.h renamed: http.h -> curl_http.h renamed: http_chunks.h -> curl_http_chunks.h renamed: http_digest.h -> curl_http_digest.h renamed: http_negotiate.h -> curl_http_negotiate.h renamed: http_proxy.h -> curl_http_proxy.h renamed: if2ip.h -> curl_if2ip.h renamed: imap.h -> curl_imap.h renamed: inet_ntop.h -> curl_inet_ntop.h renamed: inet_pton.h -> curl_inet_pton.h renamed: krb4.h -> curl_krb4.h renamed: llist.h -> curl_llist.h renamed: memdebug.h -> curl_memdebug.h renamed: multiif.h -> curl_multiif.h renamed: netrc.h -> curl_netrc.h renamed: non-ascii.h -> curl_non-ascii.h renamed: nonblock.h -> curl_nonblock.h renamed: nssg.h -> curl_nssg.h renamed: parsedate.h -> curl_parsedate.h renamed: pingpong.h -> curl_pingpong.h renamed: polarssl.h -> curl_polarssl.h renamed: pop3.h -> curl_pop3.h renamed: progress.h -> curl_progress.h renamed: qssl.h -> curl_qssl.h renamed: rawstr.h -> curl_rawstr.h renamed: rtsp.h -> curl_rtsp.h renamed: select.h -> curl_select.h renamed: sendf.h -> curl_sendf.h renamed: setup.h -> curl_setup.h renamed: setup_once.h -> curl_setup_once.h renamed: share.h -> curl_share.h renamed: slist.h -> curl_slist.h renamed: smtp.h -> curl_smtp.h renamed: sockaddr.h -> curl_sockaddr.h renamed: socks.h -> curl_socks.h renamed: speedcheck.h -> curl_speedcheck.h renamed: splay.h -> curl_splay.h renamed: ssh.h -> curl_ssh.h renamed: sslgen.h -> curl_sslgen.h renamed: ssluse.h -> curl_ssluse.h renamed: strdup.h -> curl_strdup.h renamed: strequal.h -> curl_strequal.h renamed: strerror.h -> curl_strerror.h renamed: strtok.h -> curl_strtok.h renamed: strtoofft.h -> curl_strtoofft.h renamed: telnet.h -> curl_telnet.h renamed: tftp.h -> curl_tftp.h renamed: timeval.h -> curl_timeval.h renamed: transfer.h -> curl_transfer.h renamed: url.h -> curl_url.h renamed: urldata.h -> curl_urldata.h renamed: warnless.h -> curl_warnless.h renamed: wildcard.h -> curl_wildcard.h ----------------------------------------
* build: make use of 76 lib/*.h renamed filesYang Tse2012-12-281-1/+1
| | | | | | 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
* SSH: added agent based authenticationArmel Asselin2012-08-081-0/+9
| | | | CURLSSH_AUTH_AGENT is a new auth type for SSH
* rectify commentJonas Schnelli2011-11-251-1/+2
|
* SFTP: support '*' prefix for quote operationsJonas Schnelli2011-11-181-0/+1
| | | | | prefixing a command with '*' means it is allowed to fail without aborting the chain actions
* SSH: set non-blocking earlierDaniel Stenberg2011-05-011-2/+3
| | | | | | | | Introduce an INIT state for the SSH state machine and set libssh2 non-blocking in that so that it is set properly before libssh2_session_startup() is called. Bug: http://curl.haxx.se/mail/archive-2011-05/0001.html
* build: fix libssh2_scp_send64() availabilityYang Tse2010-08-051-3/+1
|
* SCP: send large files properly with new enough libssh2Daniel Stenberg2010-08-041-1/+7
| | | | | | | | libssh2 1.2.6 and later handle >32bit file sizes properly even on 32bit architectures and we make sure to use that ability. Reported by: Mikael Johansson Bug: http://curl.haxx.se/mail/lib-2010-08/0052.html
* sendrecv: split the I/O handling into private handlerHoward Chu2010-05-071-20/+0
| | | | | | | | | | | | | | Howard Chu brought the bulk work of this patch that properly moves out the sending and recving of data to the parts of the code that are properly responsible for the various ways of doing so. Daniel Stenberg assisted with polishing a few bits and fixed some minor flaws in the original patch. Another upside of this patch is that we now abuse CURLcodes less with the "magic" -1 return codes and instead use CURLE_AGAIN more consistently.
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* split out more protocol-specific structs from urldata.h into their ownDaniel Stenberg2009-12-121-0/+122
| | | | protocol-specific header files
* changed ssh.c to use HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION define provided by ↵Gunter Knauf2009-05-191-10/+0
| | | | libssh2.h; removed related define block from ssh.h.
* Fix libssh2 preprocessor symbol definition checkYang Tse2009-05-091-3/+4
|
* Remove trailing #undef value. Typo?Gisle Vanem2008-12-221-1/+1
|
* libssh2_sftp_seek2 was just renamed to libssh2_sftp_seek64 ...Daniel Stenberg2008-12-221-2/+9
|
* - Anthony Bryan provided a set of patches that cleaned up manual language,Daniel Stenberg2008-12-221-0/+6
| | | | corrected spellings and more.
* Further adjust a libssh2 preprocessor function-symbol definition checkYang Tse2008-11-291-3/+3
|
* Adjust some libssh2 preprocessor symbol definition checksYang Tse2008-11-291-4/+14
|
* remove leftover proto that isn't used, I made it a macro insteadDaniel Stenberg2008-06-201-2/+0
|
* - Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxyDaniel Stenberg2008-06-201-1/+12
| | | | | | | | crashed libcurl. This is now addressed by making sure we use "plain send" internally when doing the socks handshake instead of the Curl_write() function which is designed to use the "target" protocol. That's then SCP or SFTP in this case. I also took the opportunity and cleaned up some ssh- related #ifdefs in the code for readability.
* - Make Curl_write and it's callees accept a const pointer, in preparationMichal Marek2008-05-091-2/+2
| | | | of tetetest's patch for curl_easy_send()
* Added per-protocol callback static tables, replacing callback ptr storagePatrick Monnerat2007-10-121-12/+2
| | | | in the connectdata structure by a single handler table ptr.
* The SSH code now only works with libssh2 0.16 or later. Thus we must notDaniel Stenberg2007-08-031-4/+0
| | | | release the next curl until there is a libssh2 0.16 released.
* for now unless we do better fixed LIBSSH2_APINO compares to use long constants.Gunter Knauf2007-07-141-2/+2
|
* fixed endif comment.Gunter Knauf2007-07-111-1/+1
|
* * Finish moving sftp:// into a state machine so it won't block in multi modeJames Housley2007-07-101-0/+7
| | | | | * Move scp:// into a state machine so it won't block in multi mode * When available use the full directory entry from the sftp:// server
* Convert Curl_ssh_connect() to run in a state machine forJames Housley2007-06-121-0/+1
| | | | LIBSSH2_APINO >= 200706012030. More to come...
* - Armel Asselin improved libcurl to behave a lot better when an easy handleDaniel Stenberg2007-01-161-3/+3
| | | | | | doing an FTP transfer is removed from a multi handle before completion. The fix also fixed the "alive counter" to be correct on "premature removal" for all protocols.
* James Housley did lots of work and introduced SFTP downloads.Daniel Stenberg2006-11-241-8/+17
|
* James Housley brought support for SCP transfersDaniel Stenberg2006-11-021-0/+40