Mercurial > gftp.yaz
comparison lib/protocols.c @ 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 | 44b792841e3f |
children | 1c86bcb0b232 |
comparison
equal
deleted
inserted
replaced
376:6b25e7a2ff20 | 377:14da115b149b |
---|---|
510 | 510 |
511 #endif | 511 #endif |
512 | 512 |
513 | 513 |
514 int | 514 int |
515 gftp_get_next_file (gftp_request * request, char *filespec, gftp_file * fle) | 515 gftp_get_next_file (gftp_request * request, const char *filespec, |
516 gftp_file * fle) | |
516 { | 517 { |
517 int fd, ret; | 518 int fd, ret; |
518 | 519 |
519 g_return_val_if_fail (request != NULL, GFTP_EFATAL); | 520 g_return_val_if_fail (request != NULL, GFTP_EFATAL); |
520 | 521 |