Mercurial > gftp.yaz
diff src/uicommon/gftpui.h @ 380:05ee37a5558b
2003-1-28 Brian Masney <masneyb@gftp.org>
* src/gtk/bookmarks.c src/gtk/dnd.c src/gtk/gftp-gtk.c
src/gtk/gftp-gtk.h src/gtk/gtkui.c src/gtk/menu-items.c
src/gtk/transfer.c - renamed disconnect() to gftpui_disconnect()
* src/gtk/gtkui.c src/text/textui.c src/uicommon/gftpui.c - improved
prompting for the username/password
* src/gtk/gtkui.c src/text/textui.c src/uicommon/gftpui.c - call
gftpui_disconnect() after a command is run and if we are no longer
connected to the remote host
* src/text/gftp-text.c - parse the command line arguments for the host
to connect to
* src/text/textui.c (gftpui_refresh) - clear the cache.
(gftpui_ask_transfer) - check for carriage return or empty string
* src/uicommon/gftp.h - define gftpui_common_cmd_m{get,put}_file()
* lib/sshv2.c - removed temporary "fix"
author | masneyb |
---|---|
date | Wed, 28 Jan 2004 23:46:28 +0000 |
parents | 14da115b149b |
children | 14ef37b62c20 |
line wrap: on
line diff
--- a/src/uicommon/gftpui.h Wed Jan 28 10:52:53 2004 +0000 +++ b/src/uicommon/gftpui.h Wed Jan 28 23:46:28 2004 +0000 @@ -108,6 +108,18 @@ gftp_request * other_request, const char *command ); +int gftpui_common_cmd_mget_file ( void *uidata, + gftp_request * request, + void *other_uidata, + gftp_request * other_request, + const char *command ); + +int gftpui_common_cmd_mput_file ( void *uidata, + gftp_request * request, + void *other_uidata, + gftp_request * other_request, + const char *command ); + gftp_transfer * gftpui_common_add_file_transfer ( gftp_request * fromreq, gftp_request * toreq, void *fromuidata, @@ -147,10 +159,10 @@ void *gftpui_generic_thread ( void *(*run_function)(void *data), void *data); -char *gftpui_prompt_username ( void *uidata, +void gftpui_prompt_username ( void *uidata, gftp_request * request ); -char *gftpui_prompt_password ( void *uidata, +void gftpui_prompt_password ( void *uidata, gftp_request * request ); void gftpui_add_file_to_transfer ( gftp_transfer * tdata, @@ -167,4 +179,7 @@ void gftpui_start_transfer ( gftp_transfer * tdata ); +void gftpui_disconnect ( void *uidata ); + + #endif