Mercurial > gftp.yaz
diff src/uicommon/gftpui.h @ 377:14da115b149b
2003-1-23 Brian Masney <masneyb@gftp.org>
* src/text/gftp-text.c src/uicommon/gftpui.c - added file transfer
functions to the command line.
* src/uicommon/gftpui_transfer.c src/uicommon/gftpui.h src/text/textui.c
src/gtk/gtkui_transfer.c - added
gftpui_{start,update,finish}_current_file_in_transfer() functions
that will be called throughout the lifetime of a file transfer.
Also, gftpui_start_transfer() that will be called whenever a file
transfer is created
* src/uicommon/gftpui.h src/uicommon/gftpui.c src/gtk/gftp-gtk.c
src/gtk/transfer.c - added other_uidata and other_request arguments
to all of the command line functions
* lib/protocols.c lib/gftp.h - set the filespec argument to
gftp_get_next_file to be a constant
* lib/gftp.h - added tot_file_trans variable to gftp_transfer struct
author | masneyb |
---|---|
date | Sat, 24 Jan 2004 11:45:11 +0000 |
parents | d207b8241e96 |
children | 05ee37a5558b |
line wrap: on
line diff
--- a/src/uicommon/gftpui.h Fri Jan 23 17:17:51 2004 +0000 +++ b/src/uicommon/gftpui.h Sat Jan 24 11:45:11 2004 +0000 @@ -50,7 +50,9 @@ { char *command; int minlen; - int (*func)(void *uidata, gftp_request * request, const char *command); + int (*func)(void *uidata, gftp_request * request, + void *other_uidata, gftp_request * other_request, + const char *command); gftpui_common_request_type reqtype; char *cmd_description; int (*subhelp_func) (const char *topic); @@ -102,6 +104,8 @@ int gftpui_common_cmd_open ( 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, @@ -155,4 +159,12 @@ void gftpui_ask_transfer ( gftp_transfer * tdata ); +void gftpui_start_current_file_in_transfer ( gftp_transfer * tdata ); + +void gftpui_update_current_file_in_transfer ( gftp_transfer * tdata ); + +void gftpui_finish_current_file_in_transfer ( gftp_transfer * tdata ); + +void gftpui_start_transfer ( gftp_transfer * tdata ); + #endif