Mercurial > gftp.yaz
diff lib/gftp.h @ 84:7ef60ce2bdb2
2002-12-29 Brian Masney <masneyb@gftp.org>
* lib/ssh.c lib/config_file.c lib/Makefile.am lib/gftp.h lib/options.h - removed old legacy SSH protocol and option to enable this protocol
* lib/gftp.h - added GFTP_ERETRYABLE and GFTP_EFATAL error codes
* lib/bookmark.c lib/local.c lib/protocols.c lib/rfc959.c lib/rfc2068.c
lib/sshv2.c - return new error codes instead of -1 or -2
* lib/misc.c (gftp_*_sort_function_ds) - changed return values
* src/gtk/transfer.c (connect_thread) - if return value of
gftp_connect() is GFTP_EFATAL, don't attempt to retry the connection
author | masneyb |
---|---|
date | Sun, 29 Dec 2002 15:16:27 +0000 |
parents | f4f6f44225d3 |
children | 759c7d019a89 |
line wrap: on
line diff
--- a/lib/gftp.h Fri Dec 27 14:59:50 2002 +0000 +++ b/lib/gftp.h Sun Dec 29 15:16:27 2002 +0000 @@ -97,6 +97,10 @@ #include <dmalloc.h> #endif +/* Error types */ +#define GFTP_ERETRYABLE -1 +#define GFTP_EFATAL -2 + /* Some general settings */ #define BASE_CONF_DIR "~/.gftp" #define CONFIG_FILE BASE_CONF_DIR "/gftprc" @@ -487,7 +491,7 @@ log_height, retries, sleep_time, network_timeout, use_http11, listbox_dblclick_action, file_trans_column, local_columns[6], remote_columns[6], resolve_symlinks, firewall_port, http_proxy_port, - overwrite_by_default, append_file_transfers, enable_old_ssh, + overwrite_by_default, append_file_transfers, ssh_need_userpass, ssh_use_askpass, sshv2_use_sftp_subsys, local_sortcol, local_sortasds, remote_sortcol, remote_sortasds; extern guint max_log_window_size; @@ -629,7 +633,6 @@ #define GFTP_LOCAL_NUM 2 #define GFTP_SSHV2_NUM 3 #define GFTP_BOOKMARK_NUM 4 -#define GFTP_SSH_NUM 5 #define GFTP_TYPE_BINARY 1 #define GFTP_TYPE_ASCII 2 #define GFTP_IS_CONNECTED(request) ((request) != NULL && \ @@ -648,8 +651,6 @@ void local_init ( gftp_request * request ); -void ssh_init ( gftp_request * request ); - void sshv2_init ( gftp_request * request ); void bookmark_init ( gftp_request * request );