| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Proper way to convert ssh.c to non-blocking
From: James Housley <jim_at_thehousleys.net>
Date: Sun, 10 Jun 2007 10:25:55 -0400
I know from pervious discussions that once libssh2 works in non-
If I am right for the actual transfers Curl_setup_transfer() would be
CURLcode Curl_ssh_connect(struct connectdata *conn, bool *done)
while ((i = libssh2_session_startup(ssh->ssh_session, sock)) ==
do {
while ((i = libssh2_userauth_publickey_fromfile(ssh->ssh_session,
if (conn->protocol == PROT_SFTP) {
while ((i = libssh2_sftp_realpath(ssh->sftp_session, ".",
*done = TRUE;
Jim
-- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- "Eagles may soar, but weasels don't get sucked into jet engines" -- AnonReceived on 2007-06-10 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info