Mercurial > gftp.yaz
comparison lib/gftp.h @ 458:656a0b3d1403
2004-4-10 Brian Masney <masneyb@gftp.org>
* lib/gftp.h lib/pty.c lib/sshv2.c - added gftp_exec() that will always
open a pseudo terminal and a separate socket pair for the stdin/stdout
file descriptors. The banner and password request will come through the
pseudo terminal while the sftp protocol specific data will always come
through the socket pair. This allows for a much cleaner SSH login
sequence that does not require echo xsftp to capture a login banner.
Removed option ssh_use_askpass since it is no longer needed.
This code is based off of a suggestion from Gertjan Halkes
* src/text/gftp-text.c - removed setting the options ssh_use_askpass
and sshv2_use_sftp_subsys
author | masneyb |
---|---|
date | Sat, 10 Apr 2004 15:14:46 +0000 |
parents | 83cfffb2878a |
children | 075f89b4395c |
comparison
equal
deleted
inserted
replaced
457:afa37403af96 | 458:656a0b3d1403 |
---|---|
1005 void gftp_setup_startup_directory ( gftp_request * request ); | 1005 void gftp_setup_startup_directory ( gftp_request * request ); |
1006 | 1006 |
1007 /* pty.c */ | 1007 /* pty.c */ |
1008 char * gftp_get_pty_impl ( void ); | 1008 char * gftp_get_pty_impl ( void ); |
1009 | 1009 |
1010 pid_t gftp_exec_with_new_pty ( gftp_request * request, | 1010 pid_t gftp_exec ( gftp_request * request, |
1011 int *fdm, | 1011 int *fdm, |
1012 char **args ); | 1012 int *ptymfd, |
1013 | |
1014 pid_t gftp_exec_without_new_pty ( gftp_request * request, | |
1015 int *fdm, | |
1016 char **args ); | 1013 char **args ); |
1017 | 1014 |
1018 #ifdef USE_SSL | 1015 #ifdef USE_SSL |
1019 /* sslcommon.c */ | 1016 /* sslcommon.c */ |
1020 int gftp_ssl_startup ( gftp_request * request ); | 1017 int gftp_ssl_startup ( gftp_request * request ); |