Mercurial > gftp.yaz
diff lib/gftp.h @ 542:fd9ce7797984
2004-8-21 Brian Masney <masneyb@gftp.org>
* lib/gftp.h lib/options.h lib/protocols.c - added
gftp_protocol_default_port() that will return the default port for
the current protocol
* src/gtk/misc-gtk.c (update_window_info) - when updating the toolbar
with the connection status, if the current connection is using the
default port for it's protocol, then leave the port field blank. This
should help users who want to reconnect to the current site using a
different protocol
* src/gtk/gftp-gtk.c (CreateConnectToolbar) - expanded the size of
the Port input box
author | masneyb |
---|---|
date | Sat, 21 Aug 2004 15:49:34 +0000 |
parents | bccfdbfaac00 |
children | 34a3f10d8bae |
line wrap: on
line diff
--- a/lib/gftp.h Sat Aug 21 14:40:41 2004 +0000 +++ b/lib/gftp.h Sat Aug 21 15:49:34 2004 +0000 @@ -554,6 +554,7 @@ int (*init) (gftp_request * request); /* Init function */ void (*register_options) (void); /* Protocol options */ char *url_prefix; /* URL Prefix */ + unsigned int default_port; /* Default port */ unsigned int shown : 1, /* Whether this protocol is shown or not to the user in the protocol dropdown box */ @@ -1033,6 +1034,8 @@ void gftp_setup_startup_directory ( gftp_request * request ); +unsigned int gftp_protocol_default_port ( gftp_request * request ); + /* pty.c */ char * gftp_get_pty_impl ( void );